C
crapit
The macro suppose to hide all worksheets except for the 2 worksheet listed
below. Instead, only 2 chart remain visible! HELP
Sub hide_ws()
Dim wsSheet As Worksheet
For Each wsSheet In Worksheets
wsSheet.Visible = wsSheet.Name = "main status"
wsSheet.Visible = wsSheet.Name = "spare status"
Next wsSheet
End Sub
below. Instead, only 2 chart remain visible! HELP
Sub hide_ws()
Dim wsSheet As Worksheet
For Each wsSheet In Worksheets
wsSheet.Visible = wsSheet.Name = "main status"
wsSheet.Visible = wsSheet.Name = "spare status"
Next wsSheet
End Sub