Unhiding worksheets

G

Guest

I am a user of Excel 2000.

A workbook that I update contains 10 worksheets, of which I hide 4 once I
have updated them (on a weekly basis).

Excel allows me to hide all 4 at once, however I have to unhide each sheet
on an individual basis. Is there a way of unhiding all hidden sheets at once?

Thanks.
 
J

Jason Morin

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

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