+ Reply to Thread
Results 1 to 9 of 9

Worksheets not visible

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Worksheets not visible

    I am viewing a workbook that displays 3 worksheets but in VBA I can see 6 worksheets. Right-clicking a tab does not allow worksheets to be unhidden. There does not appear to be any code that is hiding these worksheets? What am I missing?
    Thanks in advance

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Worksheets not visible

    They are already hidden, not by code, by sheet parameters.

    From the sheets (not VBA), right-click on a sheet tab you CAN see and select UNHIDE to see a list of hidden sheets.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Worksheets not visible

    The sheets are probably very hidden in their Visible property. This can only be changed in the VB Editor. Select the sheet in the VBE & scroll down to the Visible property, change it to "-1 - xlSheetVisible"
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Worksheets not visible

    Thanks Roy. When I try that I get the following message: Unable to set the Visible property of the Worksheet class?

  5. #5
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Worksheets not visible

    The workbook is not locked or password protected and I can't figure this one out? Right-clicking on a sheet tab you CAN see, the UNHIDE option is greyed out?

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Worksheets not visible

    Maybe it's corrupted. Can you attach it?

  7. #7
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Worksheets not visible

    Once again, thanks for your time Roy. The file does not appear to be corrupt. Unfortunately, I can't attach the file as it contains sensitive financial data. I will continue trying and will revert if I am successful.

  8. #8
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Worksheets not visible

    If I right-click a sheet tab that I CAN see, only the following options are NOT greyed out: View Code, Protect Sheet and Select All Sheets. I can't hide a sheet that I CAN see?

  9. #9
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    854

    Re: Worksheets not visible

    It appears as though the workbook is protected! I am trying to locate the password & that should resolve the problem.

+ 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