gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,340
- Office Version
- 365
- Platform
- Windows
I have code that is triggured by a button that will hide or unhide a tab. What I need is if the tab is hidden when the button is click it not only unhides but it also activates that sheet/tab
Thank you for your help
Code:
Sub SeeBOE()
With Sheet5
.Visible = Not .Visible
End With
End Sub
Thank you for your help