I Need This To Work For Tomorrow Please Help!!
I Need This To Work For Tomorrow Please Help!!
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 7 of 7

Thread: I Need This To Work For Tomorrow Please Help!!

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Sheets("Sheet3").Activate
    Range("B8").Select

    This produces a runtime error 9
    Subscript out of range

    I wish to switch to sheet 3 (Message) and sect cell B8

    Can anyone sort this

    Thanks


    Craig

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Wellington
    Posts
    115
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi,

    Does you active workbook contain a sheet with the name of "sheet3"


  3. #3
    MrExcel MVP Joe Was's Avatar
    Join Date
    Feb 2002
    Location
    Central Florida, USA
    Posts
    7,539
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default

    Try:

    Sheets("Sheet3").Select
    Range("B8").Select

    Hope this helps? JSW

  4. #4
    Board Regular
    Join Date
    Mar 2002
    Posts
    88
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    use actual sheet name instead of "sheet3"

    Worksheets("Message").Activate

  5. #5
    MrExcel MVP Mark O'Brien's Avatar
    Join Date
    Feb 2002
    Location
    Columbus, OH, USA
    Posts
    3,530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    "Sheet3" was the actual name in the original post. I supplied that code originally.

  6. #6
    Board Regular
    Join Date
    Mar 2002
    Posts
    88
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Ah ok - I gotcha..

    on a hunch try

    WorkSheet.

    instead of

    Sheets.


  7. #7
    Board Regular
    Join Date
    Mar 2002
    Posts
    88
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Worksheets.

    I mean

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com