![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: Toronto, Canada
Posts: 12
|
Hi, does any know of a way to unhide multiple sheets at the same time? I feel very inefficient doing them all 'one at a time.'
Thanks. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Location: Greenwood, SC
Posts: 677
|
I have this macro saved in my Personal Macros to do just that. I also added it to my tools menubar since I use it so often.
Sub Unhide_All For Each s in Sheets s.Visible = True Next End Sub |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
G'day,
That "unhide one sheet at a time only" thing always bugged me too. I tossed this into my personal.xls file to bypass it. Sub Unhide_All_Sheets() Dim i For i = 1 To Sheets.Count Sheets(i).Visible = True Next i End Sub Hope that helps, Adam |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
ahh ... Didn't think of the For Each s in Sheets approach. Good call, kkknie
Adam |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|