Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Grd Grd is offline
external usenet poster
 
Posts: 118
Default How to unhide multiple sheets in one go

Hi,

I have multiple sheets in a workbook hidden and at times I need to unhide
them all in one go.

However the problem with the unhide feature is that it only allows you to
unhide one sheet at a time. I have over 22 hidden sheets so this is a real
problem for me.
I've tried doing some VBA but got stuck. Could'nt get it to work.

Anyone done this before or could give me hints

Thanks in advance
Sandra
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default How to unhide multiple sheets in one go

Grd, here is one way,

Sub unhide_all_sheets()

Dim ws As Worksheet

For Each ws In Worksheets

ws.Visible = True

Next ws

End Sub
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"Grd" wrote in message
...
Hi,

I have multiple sheets in a workbook hidden and at times I need to unhide
them all in one go.

However the problem with the unhide feature is that it only allows you to
unhide one sheet at a time. I have over 22 hidden sheets so this is a real
problem for me.
I've tried doing some VBA but got stuck. Could'nt get it to work.

Anyone done this before or could give me hints

Thanks in advance
Sandra



  #3   Report Post  
Posted to microsoft.public.excel.programming
Grd Grd is offline
external usenet poster
 
Posts: 118
Default How to unhide multiple sheets in one go


Great Paul

That does the trick

"Paul B" wrote:

Grd, here is one way,

Sub unhide_all_sheets()

Dim ws As Worksheet

For Each ws In Worksheets

ws.Visible = True

Next ws

End Sub
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"Grd" wrote in message
...
Hi,

I have multiple sheets in a workbook hidden and at times I need to unhide
them all in one go.

However the problem with the unhide feature is that it only allows you to
unhide one sheet at a time. I have over 22 hidden sheets so this is a real
problem for me.
I've tried doing some VBA but got stuck. Could'nt get it to work.

Anyone done this before or could give me hints

Thanks in advance
Sandra




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
Unhide Multiple Sheets Bev Excel Discussion (Misc queries) 5 June 9th 09 04:01 PM
Unhide multiple sheets albertmb Excel Discussion (Misc queries) 3 November 24th 08 05:03 PM
Unhide multiple sheets all at once glenlee Excel Discussion (Misc queries) 3 August 11th 07 06:42 AM
Can I unhide multiple sheets at once? Brockli Excel Discussion (Misc queries) 1 February 24th 05 07:46 PM
How do I unhide multiple sheets? ahonig Excel Worksheet Functions 3 December 14th 04 09:03 PM


All times are GMT +1. The time now is 05:03 AM.

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

About Us

"It's about Microsoft Excel"