Hello. In my sheet activate code, I have a series of rows hidden, as shown below.
I have check box controls that if a user clicks in a specific check box, it unhides a certain set of rows. I would like to know if there is anyway that should I go to another sheet, and come back to the master sheet, that it doesn't go back and re-hide the whole range again. Basically, I only want all rows hidden when the worksheet is opened the first time, but any additional focus set to the master page, doesn't "re-activate". Is there anyway to do this?
Or, better yet, it leaves it as it was before I switched to another sheet, (i.e. meaning the current rows hidden/current rows shown)
I appreciate any advice.
Brad
Code:
Private Sub Worksheet_Activate()
Range("16:364").Select
Selection.EntireRow.Hidden = True
'Hides everything when the sheet opens
End Sub
I have check box controls that if a user clicks in a specific check box, it unhides a certain set of rows. I would like to know if there is anyway that should I go to another sheet, and come back to the master sheet, that it doesn't go back and re-hide the whole range again. Basically, I only want all rows hidden when the worksheet is opened the first time, but any additional focus set to the master page, doesn't "re-activate". Is there anyway to do this?
Or, better yet, it leaves it as it was before I switched to another sheet, (i.e. meaning the current rows hidden/current rows shown)
I appreciate any advice.
Brad