Is there a way to select multiple hidden sheets to unhide?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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, 8 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 Lounger -
WSrory
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 Lounger
Viewing 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
-
Lumma malware takedown
by
EyesOnWindows
1 hour, 12 minutes ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
2 hours, 46 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
2 hours, 40 minutes ago -
Meet Gemini in Chrome
by
Alex5723
6 hours, 45 minutes ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
6 hours, 54 minutes ago -
Trump signs Take It Down Act
by
Alex5723
14 hours, 53 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
2 hours, 2 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 hours, 34 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
18 hours, 13 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
23 hours, 22 minutes ago -
hibernate activation
by
e_belmont
1 day, 3 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
1 day, 6 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
1 day, 10 hours ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
1 day, 10 hours ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
6 hours, 6 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day, 14 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 21 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 5 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
1 hour, 6 minutes ago -
Auto Time Zone Adjustment
by
wadeer
2 days, 9 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
2 days, 7 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
6 hours, 57 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
1 day ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
35 minutes ago -
Apps included with macOS
by
Will Fastie
1 day, 4 hours ago -
Xfinity home internet
by
MrJimPhelps
1 day, 1 hour ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
2 days, 2 hours ago -
Debian 12.11 released
by
Alex5723
3 days, 6 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
3 days, 10 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 days, 14 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.