You are on page 1of 2

Sub UnhideAllSheets()

'Unhide all sheets in workbook.

Dim ws As Worksheet

For Each ws In ActiveWorkbook.Worksheets

ws.Visible = xlSheetVisible

Next ws

End Sub

Sub Unhide_Multiple_Sheets()

Dim ws As Worksheet

For Each ws In ActiveWorkbook.Worksheets

ws.Visible = xlSheetVisible
Next ws

End Sub

Private Sub Worksheet_Calculate()

If Range("D25").Text = "False" Then

ActiveWorkbook.ActiveSheet.Tab.Color = 255

Else

ActiveWorkbook.ActiveSheet.Tab.Color = 15773696

End If

End Sub

You might also like