Code: Select all
Sub UnhideSheets()
Dim ws As Worksheet
For Each ws In Worksheets
ws.Visible = True
Next
End Sub
As I'm having a form as a home page, I want only the form to be visible when I open the workbook and the form with command buttons to be the source to open the hidden sheets as per my need.
I hope I have made my question clear.
Thanks in advance.
Regards
Adam