A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
take a look here, maybe could help....
(if you want, ignore/delete the lines: protect - unprotect, Locked = False....)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Can anyone help me determine if there is a macro to help me with hiding/unhiding tabs within a file? I have about 150 tabs and I only need to hide/unhide certain tabs. Right now, I have to hide/unhide one at a time. I have a macro that will allow me unhide all but that leaves me with the task of hiding all of the tabs that I do not need.
Any help is greatly appreciated.
Thanks!
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi,
take a look here, maybe could help....
(if you want, ignore/delete the lines: protect - unprotect, Locked = False....)
Hi- I could select the tabs to hide. The main issue is the "one at a time" tabs to unhide.
Try this one.
Select any two sheets that have hidden sheets between them. Run macro to unhide all.
Sub UnhideSheets()
'// = = = = = = = = = = = = = = = = = = =
'// Select a sheet on each side of hidden sheets.
'// Macro will unhide sheets between selected sheets.
'// Dana DeLouis Aug 2nd, 2008
'// = = = = = = = = = = = = = = = = = = =
Dim a As Long
Dim b As Long
Dim J As Long
With ActiveWindow.SelectedSheets
a = .item(1).Index + 1
b = .item(2).Index - 1
For J = a To b
Sheets(J).Visible = True
Next J
End With
End Sub
Gord
Hi- I could select the tabs to hide. The main issue is the "one at a time" tabs to unhide.
Hi Nekia, look if this helps
http://xlvba.fr.yuku.com/topic/315#.U4dbkJ1zaUk
or look into this other thread
Can anyone help me determine if there is a macro to help me with hiding/unhiding tabs within a file? I have about 150 tabs and I only need to hide/unhide certain tabs. Right now, I have to hide/unhide one at a time. I have a macro that will allow me unhide all but that leaves me with the task of hiding all of the tabs that I do not need.
Any help is greatly appreciated.
Thanks!
Hi,
We need a rule(s), how do we know which worksheets to hide?