BULK Hiding and un-Hiding TABS

walt1122

Active Member
Joined
Jun 6, 2002
Messages
318
Hi All, Just trying to figure out how I can get back all hidden worksheets at once. Sure I can "group" them and HIDE them but I can only do the un-Hide one at a time. I have a workbook that has tons and tons of TABs and I want to be able to have most of them hidden most of the time and just have a macro? that un-hides them if I need to see a few of them and don't want to do the one-at-a-time thing. Any ideas!

thanks

Walt
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Some code like this in a module should work

Sub unhide()
Dim ws As Worksheet
For Each ws In Sheets
If ws.Visible = xlSheetHidden Then ws.Visible = xlSheetVisible
Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,746
Members
449,050
Latest member
excelknuckles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top