+ Reply to Thread
Results 1 to 3 of 3

Error Message 'Subscript Out of Range'

  1. #1
    Registered User
    Join Date
    06-19-2009
    Location
    U.S.
    MS-Off Ver
    Excel 2003
    Posts
    18

    Error Message 'Subscript Out of Range'

    Hi all -

    See if you can see what is wrong with this code - I have no idea. All the spreadsheet names are correct and I have used this syntax before, I don't know what I am doing wrong. The macro has a problem with the 3rd line (
    Please Login or Register  to view this content.
    ), here is the code:

    Please Login or Register  to view this content.
    Thanks for your help.
    Last edited by sbnjac80; 08-24-2009 at 01:44 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Error Message 'Subscript Out of Range'

    You can't select a cell if it's not on the active sheet, but there's no need to select:
    Please Login or Register  to view this content.
    Last edited by shg; 08-24-2009 at 02:25 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-19-2009
    Location
    U.S.
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Error Message 'Subscript Out of Range'

    Ok, thanks. It was being really fickle, now my original code works.

+ 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