Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 42
Default Hidden worksheets

In a workbook, a number of worksheets have been hidden. Periodically it is
necessary to €˜unhide and display all these worksheets. Is it possible to do
this without the necessity to unhide the sheets one at a time?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 245
Default Hidden worksheets

You need VBA

Sub UHsheets()
'unhides hidden sheets
For Each ws In Worksheets
ws.Visible = True
Next ws

End Sub

To hide again:

Sub HideAllSheets()
'hides all except specified (Sheet1) in sample
'You need to keep at least one
'visible worksheet in workbook
For Each ws In Worksheets
If ws.Name < "Sheet1" Then
ws.Visible = False
End If
Next ws
End Sub


--
Steve

"wally" wrote in message
...
In a workbook, a number of worksheets have been hidden. Periodically it
is
necessary to €˜unhide and display all these worksheets. Is it possible to
do
this without the necessity to unhide the sheets one at a time?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hidden Worksheets zhj23 Excel Discussion (Misc queries) 3 July 9th 07 11:30 AM
why do linked worksheets keep getting hidden? MJB Excel Discussion (Misc queries) 0 February 19th 07 10:17 PM
How do I detect hidden worksheets or hidden data on a worksheet? Alice Excel Discussion (Misc queries) 4 August 24th 06 03:38 AM
Printing hidden worksheets MarcoR Excel Discussion (Misc queries) 4 April 8th 06 09:41 PM
grouping hidden worksheets bennyob Excel Discussion (Misc queries) 5 November 5th 05 12:39 AM


All times are GMT +1. The time now is 12:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"