Here is the issue. I have the VBA to Unhide a hidden worksheet using checkboxes. The problem is that when the checkbox is clicked the worksheet is unhidden but does not automatically open. It remains as a tab. Can someone please help me!?
This is the VBA that I am currently using:
[pre]
[/pre]
Sheet one is the master sheet with 297 checkboxes. each checkbox represents a room. so naturally, every checkbox has it's own hidden sheet.
This is the VBA that I am currently using:
[pre]
Code:
Sub CheckBox1_Click()
If Sheet1.DrawingObjects("Check box 1").Value > 0 Then
Worksheets("Room 101").Visible = 1
Else
Worksheets("Room 101").Visible = 0
End If
End Sub
Sheet one is the master sheet with 297 checkboxes. each checkbox represents a room. so naturally, every checkbox has it's own hidden sheet.