Unhiding worksheets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a workbook with several "well" hidden worksheets.
They don't appear in the project explorer or on the toolbar menu
Someone in the group gave the following marco to unhide them

Sub Macro1()
For Each Sheet In Sheets
On Error Resume Next
Sheet.Visible = True
Next
End Sub

It gives the following error
"can't find project or library" and hi-lights the first "sheet"

oldjay
 
Don wanted you to click on Tools|references
and look for a missing reference.

If you have a reference marked as missing, then uncheck it and try your code
once more.
 
I don't see anything that says "missing reference", Please give me a more
detailed instruction
Thanks
 
In Excel, go to Tools, Macros, Visual Basic Editor

In the properties window, there is a Visible Property with 3 settings:

Visible, Hidden and Very Hidden.

The very hidden CANNOT be unhidden from just inside Excel, you have to use
the Visual Basic Editor

Saruman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top