Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
oops, change the < to =
-- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... Sub Set_Page_Preview_Normal() Dim wks As Worksheet For Each wks In ActiveWorkbook.Worksheets If wks.Visible < xlSheetVisible Then wks.Select ActiveWindow.View = xlNormalView End If Next wks End Sub -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Far" wrote in message ... The following procedure creates an error if there is hidden sheets in workbook. How can I have this procedure ignore the hidden sheets? ... Thanks Sub Set_Page_Preview_Normal() Dim wks As Worksheet For Each wks In ActiveWorkbook.Worksheets wks.Select ActiveWindow.View = xlNormalView Next wks End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
hidden sheets | Excel Discussion (Misc queries) | |||
2003/2007 Compatibility Issue - Hidden Sheets | Excel Discussion (Misc queries) | |||
Chart Issue With Hidden Cells | Excel Worksheet Functions | |||
Hidden Sheets | Excel Worksheet Functions | |||
Help! Calling hidden sheets? | Excel Programming |