Hi folks,
May I know how to hide sheets and display only once they are summoned from a button? And hide them once again when they are no longer an active sheet.
Thanks in advance.
Hi folks,
May I know how to hide sheets and display only once they are summoned from a button? And hide them once again when they are no longer an active sheet.
Thanks in advance.
Sheets are hidden like this [VBA]Sheets("Sheet1").Visible = False [/VBA]and made visible like this [VBA]Sheets("Sheet1").Visible = True[/VBA]you cannot make all sheets hidden, if you want to hide the only sheet visible in your workbook you must first make another one visible.
Regards,
Simon
Regards,
Simon
Please read this before cross posting!
In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
If I have seen further it is by standing on the shoulders of giants.
Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)
thanks. I didn't know it was that easy.