I have an excel file and having 27 sheets. Out of these 15 sheets are hide.
I want to know an excel formula,whose,unhide all the sheets in one shot.
Is there any excel formula or tricks to unhide all the sheet in one shot ?
I have an excel file and having 27 sheets. Out of these 15 sheets are hide.
I want to know an excel formula,whose,unhide all the sheets in one shot.
Is there any excel formula or tricks to unhide all the sheet in one shot ?
hi there. you have to use VBA to do that.
How to install your new code![]()
Sub UnhideSheets() Dim ShtX As Worksheet For Each ShtX In Worksheets ShtX.Visible = xlSheetVisible Next End Sub
- Copy the Excel VBA code
- Select the workbook in which you want to store the Excel VBA code
- Press Alt+F11 to open the Visual Basic Editor
- Choose Insert > Module
- Edit > Paste the macro into the module that appeared
- Close the VBEditor
- Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
To run the Excel VBA code:
- Press Alt-F8 to open the macro list
- Select a macro in the list
- Click the Run button
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
Thanks for the nice solution.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks