P
Pierre
Looking for a macro to unhide worksheets, except for sheets which I
will define.
Names such as: "Firby", and "Shannon", and "Youngblood", will need to
remain hidden (there are 3 at this time, but that may change). All
others, I'd like to open them with the macro.
This is the code, for starters.. .
Sub UnhideSheets()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Visible = xlSheetVisible
Next ws
End Sub
Thanks for any thoughts.
Pierre
will define.
Names such as: "Firby", and "Shannon", and "Youngblood", will need to
remain hidden (there are 3 at this time, but that may change). All
others, I'd like to open them with the macro.
This is the code, for starters.. .
Sub UnhideSheets()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Visible = xlSheetVisible
Next ws
End Sub
Thanks for any thoughts.
Pierre