How to show hidden sheets?

  • Thread starter Thread starter ghost
  • Start date Start date
G

ghost

Greeting,
Is there any code to show all hidden sheets in worksheet?
Thanks
 
Unless they are xlveryhidden you don't need code, simply unhide them with

Format|sheet|Unhide

Mike
 
For Each sh In ACtiveworkbook.Worksheets

sh.Visible = xlSheetVisible
Next sh

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
hi
as in vb code?
Dim WS As Worksheet
For Each WS In Worksheets
WS.Visible = True
Next WS

untested. watch for typos
regards
FSt1
 
Hi Mike and thank you for response
When I go to Microsoft VB, Worksheet project has 25 sheets, while in the
sheet tab; there are five sheets only, Please advice?
Thank you again
 

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