very hidden sheets are very hidden

muppet77

Board Regular
Joined
Jan 24, 2004
Messages
223
i have an old spreadsheet that i created about a year or so ago.
i managed to make some sheets "very hidden" as opposed to just "hidden" or "visible".

the problem is i can't find them ! i have tried "format, sheet, unhide" but that is greyed out.

i do have passwords for them, but i can't find them to put these in!

is there a simple solution for a no brainer like me?
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Press Alt+F11 to go to the Visual Basic Editor. Select the sheet(s) in the Project window and change the Visible property in the Properties window.
 
Upvote 0
Press Alt+F11 to bring up the VBE window, make sure the Project Explorer is visible in the VBE window (Ctrl+R). This will give a list of all worksheets in the workbook.

Open the Immediate window (Ctrl+G) and type:
Code:
Sheet1.Visible = xlSheetVisible
NB: Change Sheet1 to the sheet you're interested in - Sheet1 is the name not in brackets in the Project Explorer.

Edit: I always seem to do it the hard way Andrew :biggrin:
 
Upvote 0
thanks for the rapid response!

i'm not sure if i have it right, as the explorer does not show the sheets i am after?!?

perhaps they are not sheets, but just references?
 
Upvote 0
i have located it as being a named range in a hidden sheet?
i have the password, but how can i 'reveal' it?
 
Upvote 0
As Delmar wrote:
Press Alt+F11 to bring up the VBE window, make sure the Project Explorer is visible in the VBE window (Ctrl+R). This will give a list of all worksheets in the workbook.

Open the Immediate window (Ctrl+G) and type:

Now you can type in many various VBA codings (one at a time) and press Enter and they will execute immediately.

Type in (or copy and paste from above):
ActiveWorkbook.Names("TheName").Visible = True

and press Enter. Change "TheName" for the name you want to unhide.

This is sort of a "shortcut" to writing a whole VBA macro, if you only need to do one thing.
 
Upvote 0
do i just paste this into the vba sheet and then run?
that doesn't seem to work?

Try putting this in a General module and running it:

Code:
Sub Test()
Dim Nm As Name
For Each Nm in ActiveWorkbook.Names
   Nm.Visible = True
Next Nm
End Sub
 
Upvote 0
Ummm, are we barkin' up the wrong tree, lads???

Per the OP:
i have tried "format, sheet, unhide" but that is greyed out.

The only time (in my experience) that this menu option is disabled is when
  • There are no hidden sheets (or - as may be the case here - the only hidden sheets are very hidden) or
  • The workbook's structure is protected.
If it's the latter then Tools | Protection | Unprotect Workbook... and enter the password (if required).

HTH
 
Upvote 0

Forum statistics

Threads
1,215,900
Messages
6,127,640
Members
449,394
Latest member
fionalofthouse

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top