+ Reply to Thread
Results 1 to 1 of 1

Can not find worksheet

  1. #1
    Registered User
    Join Date
    04-03-2012
    Location
    Stockholm
    MS-Off Ver
    Excel 2003
    Posts
    33

    Can not find worksheet

    Hi,
    I have a problem I can not solve. I have a list of names that I read from a worksheet. This list includes task these people need to do. I need to create individual worksheets and sort these tasks into the different sheets.

    I read the tasks and names as strings. I create the individual worksheets and name them accordingly to each name. When I read the task list I find corresponding name. When I try to select the worksheet with this corresponding name I get an error

    Run-time error '9'
    Subscript out of range

    I can see in Watch that the name string is a direct match to the name of my worksheet. I use the following code

    Please Login or Register  to view this content.
    Read tasks and find corresponding names

    When I try to match the worksheet names with the name string they don't want to match even though the names are the same.

    What am I doing wrong? Do I use the declarations correct?

    Thanks
    Stefan
    Last edited by Leith Ross; 01-22-2013 at 04:22 AM. Reason: Added Code Tags

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1