This should be a simple one. I have created 2 buttons, each with the following macro:
I would like to change this to a check box for "Show Tabs" so that if unchecked, the tabs are hidden and if checked, the tabs are shown.
I have tried with recording macros but with my limited VB skills, just can't get it done.
Any ideas?
Sam
Code:
Sub ShowTab()
ActiveWindow.DisplayWorkbookTabs = True
End Sub
Code:
Sub HideTab()
ActiveWindow.DisplayWorkbookTabs = False
End Sub
I have tried with recording macros but with my limited VB skills, just can't get it done.
Any ideas?
Sam