Try this Frank
It will hide all sheets except Sheet1
Sub sheetunhide()
For Each sh In ThisWorkbook.Sheets
If sh.Name < "Sheet1" Then
sh.Visible = False
End If
Next sh
End Sub
--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl
"Frank" wrote in message ...
I know by using the following code I can un-hide all work
sheets,
Sub sheetunhide()
For Each sh In Sheets
sh.Visible = True
Next sh
End Sub
I also want to be able to hide all sheets except a
specific one, does anyone know how to do this.
Thanks