Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

excel hidden worksheets

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel - Hidden worksheets

Excel - Hidden worksheets

ResolvedVersion Standard

Michael has attended:
Excel Advanced course
Excel VBA Intro Intermediate course
Access VBA course

Excel - Hidden worksheets

If you have a number of hidden worksheets is there an easy way to unhide them all or can they only be unhidden one at a time ?

RE: Excel - Hidden worksheets

Dear Michael

Thank you for attending Excel Advanced course.

Unfortunately there is not certain command to do what you are seeking but however with VBA you should be able to get the results.

Please follow these steps:

Step 1: Choose Tools> Macro > Visual Basic Editor... (Or ALT F11 to get the Visual basic Editor Window on the screen.

Step 2: Choose Insert > Module.

Step 3: In the module window copy and paste this:

Sub UnHideAll()

'unhide all sheets in a workbook

Dim sht As Worksheet

For Each sht In ActiveWorkbook.Sheets

sht.Visible = xlSheetVisible

Next

End Sub


Step 4: Click the [b Save Button [/b] and close the Visual Basic Editor Window.

Step 5: Choose [b] Tools> Macro> Macros

Excel tip:

Toggle Formulas and Results

Ctrl + 'The key above Tab with the

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.