B
Bob
I am trying to write a macro for use in Excel 2003 & 2007 that will toggle
between hiding (using xlVeryHidden) and unhiding a specific worksheet
(Sheet2).
I know how to perform a "normal" hide/unhide using the following code:
Sub HideUnhide()
Sheets("Sheet2").Visible = Not _
Sheets("Sheet2").Visible
End Sub
But I don't know how to incorporate xlVeryHidden. I would greatly
appreciate any help.
Thanks,
Bob
between hiding (using xlVeryHidden) and unhiding a specific worksheet
(Sheet2).
I know how to perform a "normal" hide/unhide using the following code:
Sub HideUnhide()
Sheets("Sheet2").Visible = Not _
Sheets("Sheet2").Visible
End Sub
But I don't know how to incorporate xlVeryHidden. I would greatly
appreciate any help.
Thanks,
Bob