+ Reply to Thread
Results 1 to 6 of 6

All worksheets are not visible. Can't make them visible.

  1. #1
    Registered User
    Join Date
    12-08-2008
    Location
    Sacramento, CA US
    MS-Off Ver
    2007
    Posts
    17

    Question All worksheets are not visible. Can't make them visible.

    Hello. I'm hoping you can help me solve this. I am covering for somebody who is out for 3 weeks and one of his files is acting up. I have no idea what is going on.

    When the file opens, I can't see anything. there are no tab visibles (the file has about 14 tabs). I don't even see the little icon to add a new worksheet. It looks similar to when you have Excel, but you have closed all your files. Only the Excel ribbon is open. The zoom in/out scale is greyed out as well.

    I tried to run a function making all worksheets visible, but if fails on 'For Each ws In Worksheets" saying that "Worksheets = <Method 'Worksheets' Of Object '_Global' failed>"

    I have also tried making individual worksheets visible from the immediate window, but I get a 1004 run time error.
    I also tried "Print ActiveSheet.Name" and got a 1004 again.
    "Print ActiveWorkbook.Name" gives me a 91 run time error (Object variable or With block not set)

    I have confirmed that all the sheets are set to 'xlSheetVisible' in the project explorer.

    Any advice/hints is appreciated.

    Thank you,

    Angel
    Attached Images Attached Images

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: All worksheets are not visible. Can't make them visible.

    can you provide the file? are you certain it's not an add-in?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    12-08-2008
    Location
    Sacramento, CA US
    MS-Off Ver
    2007
    Posts
    17

    Re: All worksheets are not visible. Can't make them visible.

    Hi. It's not an add-in because it has an .xlsm extension and his intstructions were to open the file. His code is crapping out because it expects some of his worksheets to be visible.

    To make this harder to troubleshoot, I can't post the file because it has data I'm not allowed to share.

    Thank you for your help.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: All worksheets are not visible. Can't make them visible.

    perhaps the workbook is hidden? click the 'view' tab then the 'unhide' button.

  5. #5
    Registered User
    Join Date
    12-08-2008
    Location
    Sacramento, CA US
    MS-Off Ver
    2007
    Posts
    17

    Re: All worksheets are not visible. Can't make them visible.

    WOW. I feel like such an idiot.

    Never knew you could do that. I've never hidden *all* sheets.

    Thank you VERY much.

    Angel
    Last edited by verdugan; 11-21-2012 at 01:13 PM.

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: All worksheets are not visible. Can't make them visible.

    my pleasure :-)

+ 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