Cannot address a hidden sheet in my macro
Amazing chart utilities from Jon Peltier
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Cannot address a hidden sheet in my macro

  1. #1
    Guest

    Default

     
    I`m building a macro in which I refer to a hidden sheet. If the sheet is unhidden everything works fine but if I hide the sheet I get an error! Has anyone ever stumbled accross this problem and does anyone know a solution?

    thnks!

    Remi,
    Holland.

  2. #2
    Legend NateO's Avatar
    Join Date
    Feb 2002
    Location
    Minneapolis, Mn, USA
    Posts
    9,700
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You could unhide the sheet early in your procedure:

    Sheets("Sheet1").Visible = True

    Then hide the sheet at the end

    Sheets("Sheet1").Visible = False


    Cheers, Nate

  3. #3
    Guest

    Default

    So I can set the sheet to hidden as default and hide and unhide it in my macro?

    Gonne try right away!

    Cheers!

  4. #4
    Guest

    Default

      
    Yes it works...
    GREAT

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