Last active
November 4, 2016 07:27
-
-
Save asilachev/8e544dfdc8c5302fde0c to your computer and use it in GitHub Desktop.
Excel VB tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub UnhideAllSheets() | |
Dim ws As Worksheet | |
For Each ws In ActiveWorkbook.Worksheets | |
ws.Visible = xlSheetVisible | |
Next ws | |
End Sub | |
Sub HideAllSheets() | |
Dim ws As Worksheet | |
For Each ws In ActiveWorkbook.Worksheets | |
ws.Visible = x1SheetInvisible | |
Next ws | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment