Is there a way to select multiple hidden sheets to unhide?
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Select multiple sheet to unhide (Excel 2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Select multiple sheet to unhide (Excel 2003)
- This topic has 20 replies, 5 voices, and was last updated 15 years, 7 months ago.
Viewing 6 reply threadsAuthorReplies-
WSHansV
AskWoody Lounger -
WSGfamily
AskWoody Lounger -
WSprasad
AskWoody LoungerSeptember 21, 2009 at 7:20 am #1178167Or, if you want to unhide them all. you can run some code
[codebox]Sub unhide()
Dim a As Integer
On Error GoTo errSub
For a = 1 To 999
Worksheets.Item(a).Visible = True
Next a
errSub:
End Sub
[/codebox]Thanks but I want to unhide some selected sheets and not all. The code will unhide all hidden sheets in workbook, I believe.
-
WSHansV
AskWoody Lounger -
WSprasad
AskWoody Lounger -
WSGfamily
AskWoody LoungerSeptember 21, 2009 at 8:49 am #1178180I dont understand any reason for this limitation. It is something irretating to repeat a particular task.
You can make the unhide an easier task by making your own custom toolbar and using Ctrl+drag to copy the the ‘Unhide…’ command from within the Format | Sheet drop down to make it available at the click of a mouse (keep the Crtl key depressed when dragging, otherwise you’ll move the command rather than copying it ).
I have both the Hide and Unhide commands exposed like this, it makes life a little easier at little cost on the workarea.
Alternatively, if this is a spreadsheet for which you will regularly want to unhide the same set of sheets, you could modify the macro to specify each required sheet in turn. I’m not sure whether you can do that by name, or whether you need to know the index number for each one. Not ideal I know, but it can be worthwhile to set the macro up once
-
Don Wells
AskWoody LoungerSeptember 21, 2009 at 3:44 pm #1178242I dont understand any reason for this limitation. It is something irretating to repeat a particular task.
You may be interested in the Navigator add-in I have been using it successfully for years now.
-
-
-
-
WSHansV
AskWoody Lounger-
WSprasad
AskWoody Lounger -
WSHansV
AskWoody LoungerSeptember 21, 2009 at 9:20 am #1178185The attached workbook contains a module and userform that let you specify the sheets to be unhidden. Click the button on the first sheet to see how it works.
If desired, the module and userform could be incorporated in an add-in, and you could assign a custom toolbar button to the macro.
-
Don Wells
AskWoody LoungerSeptember 21, 2009 at 9:00 am #1178182Is there a way to select multiple hidden sheets to unhide?
If this is a recurring task, and you can explain the consistent logic to be applied; then I am certain that code could be developed to achieve the desired results. Alternatively, you could build a macro which:
-
[*]collects the names of all hidden sheets;
[*]displays them in a ListBox, (need to confirm that ListBoxes will allow the selection of nonadjacent entries); and
[*]Unhides the selected sheets.WSrory
AskWoody Lounger-
WSprasad
AskWoody LoungerSeptember 22, 2009 at 6:27 am #1178284Here’s a fairly rudimentary add-in that hooks into the built-in Hide and Unhide buttons to provide a form for multiple hiding/unhiding. It’s unprotected so feel free to improve it as required!
Thanks rory.
It remains first sheet from the list intact. I mean if the first sheet in the list is hidden/visible, I am not able to unhide/hide it. Second, there is a option of ‘very’ hide & a check box “Include ‘very hidden’sheets”. What it is all about? I am not a code friendly user so unable to extract results from reading script.
-
WSHansV
AskWoody LoungerSeptember 22, 2009 at 6:58 am #1178288In Excel’s user interface, you can hide and unhide a sheet. In VBA, this corresponds to setting the Visible property of the sheet to xlSheetHidden or to xlSheetVisible.
In VBA, there is a third option for the Visible property. If you set it to xlSheetVeryHidden, the sheet will be hidden, and it will *not* be listed in the Format | Sheet | Unhide list. Such a sheet can only be unhidden using VBA.
Rory’s form lets you choose whether you want to list “very hidden” sheets.
-
WSprasad
AskWoody LoungerWSrory
AskWoody LoungerSeptember 22, 2009 at 6:54 am #1178287Sorry – I corrected that in the code, but it appears it didn’t save the changes to the add-in. Try this version.
There are two levels of hiding a sheet – you can hide it via the user interface or you can ‘Very hide’ the sheet in code so that it does not appear in the Unhide list. I added functions to hide/unhide those sheets too as it makes my lfe easier.WSprasad
AskWoody LoungerViewing 6 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
24H2 Installer – don’t see ption for non distructive install
by
JP
4 hours, 5 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
10 hours, 17 minutes ago -
How much I spent on the Mac mini
by
Will Fastie
5 hours, 5 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
2 hours, 5 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
16 hours, 9 minutes ago -
Setting up Windows 11
by
Susan Bradley
3 hours, 20 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
11 hours, 36 minutes ago -
Powershell version?
by
CWBillow
12 hours, 29 minutes ago -
SendTom Toys
by
CWBillow
7 hours, 9 minutes ago -
Add shortcut to taskbar?
by
CWBillow
16 hours, 25 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
1 day, 8 hours ago -
How can I install Skype on Windows 7?
by
Help
1 day, 7 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
14 hours, 25 minutes ago -
We live in a simulation
by
Alex5723
1 day, 22 hours ago -
Netplwiz not working
by
RetiredGeek
1 day, 9 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
2 days, 11 hours ago -
Microsoft is killing Authenticator
by
Alex5723
22 hours, 59 minutes ago -
Downloads folder location
by
CWBillow
2 days, 17 hours ago -
Remove a User from Login screen
by
CWBillow
1 day, 13 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
2 days, 8 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
11 hours, 3 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
2 days, 8 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
1 day, 7 hours ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
2 days, 21 hours ago -
Multiple Partitions?
by
CWBillow
2 days, 22 hours ago -
World Passkey Day 2025
by
Alex5723
18 hours, 36 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
4 days, 6 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
2 days, 7 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
4 days, 11 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.