How do I unhide multiple sheets?

G

Guest

I'm working in a workbook with multiple hidden sheets. I have to unhide all
of them and delete most of them. It's time consuming doing this individually
and I can figure out how to unhide all of them at once. The control and
shift keys do not work with this function. How can I unhide all my hidden
sheets at the same time?
 
F

Frank Kabel

Hi
only possible with VBA. Try for example the following

sub unhide_all()
dim wks as worksheet
for each wks in activeworkbook.worksheets
wks.visible=true
next
end sub
 
G

Guest

You'd need a macros to do that

Sub RevealSheets()
Dim mySht As Worksheet
For Each mySht In ActiveWorkbook.Worksheets
mySht.Visible = True
Next mySht
End Sub


Regards,

Peo Sjoblom
 

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

Top