Hi All
Can anyone help with my condurum which I can't get to work:
For Each ws In Worksheets
If ws.Name = "Sheet1" And ws.Name = "Sheet20" Then ws.Visible = xlSheetVisible Else ws.Visible = xlSheetHidden
Next
For some reason it seems to be also hiding the sheets I've defined to remain visible, confused!?!
Thanks
Mizogy
Can anyone help with my condurum which I can't get to work:
For Each ws In Worksheets
If ws.Name = "Sheet1" And ws.Name = "Sheet20" Then ws.Visible = xlSheetVisible Else ws.Visible = xlSheetHidden
Next
For some reason it seems to be also hiding the sheets I've defined to remain visible, confused!?!
Thanks
Mizogy