Hide All But One Sheet
Loop through all sheets in a Workbook and hide all but Sheet1. Excel will not allow all sheets hidden.
Sub HideAllButOneSheet() 'We must leave at least one Sheet visible Dim wsSheet As Worksheet For Each wsSheet In Worksheets wsSheet.Visible = wsSheet.Name = "Sheet1" Next wsSheet End Sub