VBA – Unhide All Worksheets

Unhide All Worksheets in Workbook

The following is a macro to unhide all worksheets in a workbook.

Check Workbook for Hidden Worksheets

If you suspect there are hidden worksheets in a workbook, follow these steps to check for hidden sheets:

1. Open the VB Editor (ALT + F11)

2. In the Project Explorer, expand the Project for your workbook

3. Expand the Excel objects for your workbook

Do you see more sheets listed in the Project Explorer than appear in your workbook?

unhide all worksheets

If the answer is Yes, it’s most likely because one or more sheets are hidden.

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about Easy VBA. A VBA add-in to quickly insert any of the sample code found on our site directly into the Visual Basic Editor, save your own frequently used code, and more!

alt text

Stop searching for VBA code online. Try the Code VBA Add-in…

Learn More!

<<Return to VBA Examples

Did you find this VBA tutorial useful? Then share it with your friends and colleagues:

Leave A Comment