Hi all
Here is my code
Sub HideSheets()
For Each sh In Sheets
If sh.Name <> "Welcome" Then [COLOR=red yellow]sh.Visible=xlVeryHidden[/color]
Next sh
Sheets("Welcome").Range("a1").Select
End Sub
This worked fine for ages. Suddenly there is this debugger kicking in.
Can anyone spot why?
Mark
Here is my code
Sub HideSheets()
For Each sh In Sheets
If sh.Name <> "Welcome" Then [COLOR=red yellow]sh.Visible=xlVeryHidden[/color]
Next sh
Sheets("Welcome").Range("a1").Select
End Sub
This worked fine for ages. Suddenly there is this debugger kicking in.
Can anyone spot why?
Mark