Unhide excel all sheet

Hide or unhide a worksheet

Note: The screen shots in this article were taken in Excel 2016. If you have a different version your view might be slightly different, but unless otherwise noted, the functionality is the same.

  1. Select the worksheets that you want to hide.

    How to select worksheets

    To select

    Do this

    A single sheet

    Click the sheet tab.

    Worksheet tabs at the bottom of the Excel window

    If you don’t see the tab that you want, click the scrolling buttons to the left of the sheet tabs to display the tab, and then click the tab.

    Two or more adjacent sheets

    Click the tab for the first sheet. Then hold down Shift while you click the tab for the last sheet that you want to select.

    Two or more nonadjacent sheets

    Click the tab for the first sheet. Then hold down Ctrl while you click the tabs of the other sheets that you want to select.

    All sheets in a workbook

    Right-click a sheet tab, and then click Select All Sheets on the shortcut menu.

    Tip: When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets on the shortcut menu.

  2. On the Home tab, in the Cells group, click Format > Visibility > Hide & Unhide > Hide Sheet.

    Hid or unhide worksheets from Home > Cells > Format > VIsibility > Hide & Unhide

  3. To unhide worksheets, follow the same steps, but select Unhide. You’ll be presented with a dialog box listing which sheets are hidden, so select the ones you want to unhide.

    Unhide sheets dialog

    Note: Worksheets hidden by VBA code have the property xlSheetVeryHidden; the Unhide command will not display those hidden sheets. If you are using a workbook that contains VBA code and you encounter problems with hidden worksheets, contact the workbook owner for more information.

Hide or unhide a workbook window

  • On the View tab, in the Window group, click Hide or Unhide.

    On a Mac, this is under the Window menu in the file menu above the ribbon.

    Hide or show a workbook from View > Windows > Hide/Unhide

Notes: 

  • When you Unhide a workbook, select from the list in the Unhide dialog box.

    Unhide windows dialog

  • If Unhide is unavailable, the workbook does not contain hidden workbook windows.

  • When you exit Excel, you will be asked if you want to save changes to the hidden workbook window. Click Yes if you want the workbook window to be the same as you left it (hidden or unhidden), the next time that you open the workbook.

Hide or display workbook windows on the Windows taskbar

Excel 2013 introduced the Single Document Interface, where each workbook opens in its own window.

  1. Click File > Options.

    For Excel 2007, click the Microsoft Office Button Office button image, then Excel Options.

  2. Then click Advanced > Display > clear or select the Show all windows in the Taskbar check box.

Hide or unhide a worksheet

  1. Select the worksheets that you want to hide.

    How to select worksheets

    To select

    Do this

    A single sheet

    Click the sheet tab.

    Worksheet tabs at the bottom of the Excel window

    If you don’t see the tab that you want, click the scrolling buttons to the left of the sheet tabs to display the tab, and then click the tab.

    Two or more adjacent sheets

    Click the tab for the first sheet. Then hold down Shift while you click the tab for the last sheet that you want to select.

    Two or more nonadjacent sheets

    Click the tab for the first sheet. Then hold down Command while you click the tabs of the other sheets that you want to select.

    All sheets in a workbook

    Right-click a sheet tab, and then click Select All Sheets on the shortcut menu.

  2. On the Home tab, click Format > under Visibility > Hide & Unhide > Hide Sheet.

  3. To unhide worksheets, follow the same steps, but select Unhide. The Unhide dialog box displays a list of hidden sheets, so select the ones you want to unhide and then select OK.

    Unhide sheets dialog

Hide or unhide a workbook window

  • Click the Window menu, click Hide or Unhide.

Notes: 

  • When you Unhide a workbook, select from the list of hidden workbooks in the Unhide dialog box.

    Unhide windows dialog

  • If Unhide is unavailable, the workbook does not contain hidden workbook windows.

  • When you exit Excel, you will be asked if you want to save changes to the hidden workbook window. Click Yes if you want the workbook window to be the same as you left it (hidden or unhidden) the next time that you open the workbook.

Hide a worksheet

  1. Right click on the tab you want to hide.
    Hide tab in Excel for the web

  2. Select Hide.

Unhide a worksheet

  1. Right click on any visible tab.

  2. Select Unhide.
    Unhide in Excel for the web

  3. Mark the tabs to unhide.
    Select tab to unhide in Excel for the web

  4. Click OK.

One of the first “tricks” an Excel user learns is to hide and unhide a sheet.

This is an exceptionally useful feature as it allows us to store data in a sheet, such as lists and tables, but keep the user of the workbook from seeing, manipulating, and more importantly, corrupting the information on the hidden sheet.

As with most things in Excel, there is more than one way to hide a sheet or multiple sheets.  One of the easiest methods is to select a sheet (or select multiple sheets using standard Windows CTRL and Shift selection techniques), right-click the sheet tab then select “Hide”.

As an example; suppose you have twelve sheets labeled “January” through “December” and you want to hide all the monthly sheets except “December”.

  1. Select the “Jan” sheet
  2. Hold down the Shift key
  3. Select the “Nov” sheet
  4. Right-click on any selected sheet tab
  5. Click “Hide

Unfortunately, unhiding multiple sheets in a single step is not as easy.  If you right-click a sheet tab and select “Unhide”, the proceeding dialog box only allows a single sheet to be selected for the unhide operation.

This means you will have to perform the unhide operation eleven times to restore all the hidden sheets to a visible state.

Never fear, a solution is here (actually, three solutions)

Solution 1 – Create a Custom View

An often-overlooked feature in Excel is the ability to save a custom view.

Custom views can be used to “save” the hidden or visible states of rows and columns.  This is convenient when you wish to show details of data for one printout, but a summarized version of the data in a different printout.

  1. Hide the desired rows and/or columns.
  2. Click View (tab) -> Workbook Views (group) -> Custom Views -> Add… and give the current configuration a name.

If you change the hidden/visible state of rows and/or columns but then wish to return to the saved configuration, repeat the process (View (tab) -> Workbook Views (group) -> Custom Views), select your saved view then click “Show”.

The screen will immediately return to the desired state.

Custom views also work with the visible/hidden states of worksheets.  If we create a custom view prior to hiding ANY of the sheets (View (tab) -> Workbook Views (group) -> Custom Views -> Add…), we can hide as many sheets as we like.  When it comes time to redisplay all the sheets, we repeat the process and select our “normal” view and click “Show”.

All the sheets have returned.

There is one negative to this process.  Custom views do not work with Data Tables.  The moment you add a Data Table to ANY sheet, the Custom Views feature becomes inoperable.

Because more and more people use Data Tables in their workbooks (and why wouldn’t you?  They’re AMAZING!!!), we need to explore another way of unhiding all hidden worksheets.

Solution 2 – Using the VBA Immediate Window

Right up front, this does not require the use of macro-enabled workbooks.  This technique can be performed in any Excel workbook.

  1. Open the Visual Basic Editor by pressing Alt-F11 on the keyboard or right click on any sheet tab and select View Code.

Don’t concern yourself with what you see in the ensuing window; all of that is for another day.

  1. Activate the Immediate Window by clicking View -> Immediate Window (or CTRL-G).

Now we will run a macro.  This macro will loop through all the hidden sheets and revert their visibility states to “visible”.  We will use a “For…Each” collection loop to perform this operation.

NOTE:  If you are interested in learning about this command and many other useful things macros can do for you, visit the links at the end of this tutorial.

  1. In the Immediate window, type
for each sh in worksheets: sh.visible=true: next sh

(press Enter)

All the sheets have returned to a visible state.

What does that code mean?  Let’s break down the code.

for each sh in worksheets

This establishes a collection (list) of all worksheets and allows us to refer to each sheet individually with the alias “sh”.

sh.visible=true

With the first sheet in the collection, set the visible property to “true”.  This makes the sheet visible to the user.

next sh

This selects the next sheet in the collection and returns to the first statement to repeat the process.

This process will repeat for as many sheets as are in the collection.

If this code is something you will use frequently, you can save the code in a Notepad file and then copy/paste it back into the Immediate Window whenever needed.

Solution 3 – Add a Macro to the Quick Access Toolbar (QAT)

This technique is covered in detail in the Excel VBA course (link below if you are interested in becoming a VBA Powerhouse) but will be summarized here.

If this feature is to be used often across many different workbooks, it’s worth taking the time to set this feature up on the QAT.

We will create a simple macro and store it in a special place in Excel called the Personal Macro Workbook.

Creating the Macro

  1. Click the “Record Macro” button on the Status Bar in the lower-left corner of Excel.
  2. Give the macro a name (“Unhide_All” is a good name.) Macro names cannot contain spaces.
  3. Change the “Store macro in:” option from “This Workbook” to “Personal Macro Workbook”.
  4. Click OK
  5. Click the “Stop Recording” button on the Status Bar in the lower-left corner of Excel.
  6. Open the Visual Basic Editor (Alt-F11).
  7. In the Project Explorer panel (upper-left), click the plus-sign next to the entry labeled “VBAProject (PERSONAL.XLSB)”.
  8. Click the plus-sign next to the folder labeled “Modules”.
  9. Double-click the module named “Module1”.
  10. Highlight and delete EVERYHTING in the code window (right panel).
  11. Enter the following code:
Sub Unhide_All()
Dim sh As Worksheet
	for each sh in worksheets: sh.visible=true: next sh
End Sub

Setting up the QAT Macro Launch Button

  1. Click the down arrow at the far right of the QAT and select “More Commands…” towards the bottom of the list.
  2. In the dropdown titled “Choose commands from:” select “Macros”.
  3. Select the “Unhide_All” macro on the left and click “Add>>” to move the macro to the list on the right.
  4. Click the “Modify” button to personalize the button icon as well as provide a tooltip. Whatever you write in the “Display name:” filed will appear on the screen when the user hover’s over the launch button on the QAT.
  5. Click OK.

Whenever you want to invoke the macro to unhide all the hidden sheets, click the unhide macro button on the QAT.

This feature is available for use in all open workbooks.  Because we have updated the Personal Macro Workbook, don’t forget to save the changes to the Personal Macro Workbook when closing Excel.

Additional Resources

Excel VBA For…Each Loop tutorial

Excel VBA – Full Playlist

If you don’t have Office 365 and you’d like a free tool that unhides all sheets for you, then this is it!

You can add this tool to your Quick Access Toolbar or to your Excel ribbon by saving it in your Personal Macro Workbook. In this video I show you the steps to do that.

Many Thanks to Daniel Lamarche from Combo Projects for sharing this tool for free with our community members.

Please visit Daniel’s page at:

The Unhide Worksheets utility

Published on: March 7, 2019

Last modified: March 2, 2023

Microsoft Most Valuable Professional

Leila Gharani

I’m a 5x Microsoft MVP with over 15 years of experience implementing and professionals on Management Information Systems of different sizes and nature.

My background is Masters in Economics, Economist, Consultant, Oracle HFM Accounting Systems Expert, SAP BW Project Manager. My passion is teaching, experimenting and sharing. I am also addicted to learning and enjoy taking online courses on a variety of topics.

Watch Video – How to Unhide All Sheets In Excel

In case you prefer reading a tutorial over watching a video, below is a detailed written tutorial on unhiding sheets in Excel.

When you work with data that is spread across multiple worksheets in Excel, you may want to hide a few worksheets. This could be to avoid the clutter or to not show some data to your client/manager by hiding some worksheets and only keeping the useful ones visible.

And in some cases, you may have a workbook that has some hidden sheets and you want to unhide some or all of these worksheets.

In this tutorial, I will show you some methods to unhide worksheets in Excel (manually as well as automatically using VBA). I will also show you how to selectively unhide worksheets based on the name or a condition.

So let’s get started!

Unhiding Sheets Manually

If you only have a few worksheets that are hidden, you can manually unhide some or all of these worksheets.

Suppose you have an Excel workbook that has 10 worksheets that are hidden.

Below are the steps to manually unhide worksheets (one at a time):

  1. Right-click on any of the existing worksheet tabRight-Click on any visible sheet name
  2. Click on the Unhide option. This will open the Unhide dialog box that lists all the hidden worksheetsClick the Unhide Sheets option
  3. In the Unhide dialog box, click on the worksheet that you to unhide (you can only select one at a time).Select the sheet you want to unhide
  4. Click OK.Click OK to unhide the selected sheet

The above steps would unhide the select worksheet.

Note: Unfortunately, there is no in-built functionality in Excel to quickly unhide all the hidden worksheets (or a way to select more than one worksheet and unhide it). As of now, you need to use the unhide dialog box where you can only select one worksheet to unhide.

You can hide worksheets in bulk, but not unhide in bulk

If you want to hide worksheets, you can select multiple worksheets at once (hold the control key and click on the worksheet tab name), right-click and click on the Hide option.

Unfortunately, there is no in-built functionality in Excel to quickly unhide all the hidden worksheets (or a way to select more than one worksheet and unhide it). As of now, you need to use the unhide dialog box where you can only select one worksheet to unhide.

While there is no-inbuilt functionality to unhide in bulk, you can easily do this with a simple VBA macro code.

Unhide All Sheets At One Go

With VBA, you can easily unhide worksheets in bulk.

For example, if you have 10 hidden worksheets, you can create a simple VBA code to unhide all the worksheets or you can unhide based on a condition (such as unhide only those where there is a specific prefix or year in the name).

Note: The methods covered in this tutorial doesn’t require you to save an Excel workbook in a macro-enabled format (.XLSM) to use the VBA code.

Using Immediate Window

VB Editor in Excel has an immediate window where you can type a line of code and instantly execute it right away.

Below are the steps to use this above line of code to unhide sheets through immediate window:

  1. Right-click on any of the visible sheets in the workbook
  2. Click on View code. This will open the VB Editor.Click the View code option to open the VB Editor in Excel
  3. Click the View option in the menu and then click on the Immediate window. This will make the Immediate window appear in the VB Editor (if not there already).Click on View and the click on the Immediate Window
  4. In the Immediate window, copy and paste the following line of code: For each Sheet in Thisworkbook.Sheets: Sheet.Visible=True: Next SheetEnter the code to unhide sheets in immediate window
  5. Place the cursor at the end of the linePlace the cursor at the end of the line of code
  6. Hit the Enter key

That’s it!

The above steps would instantly unhide all the sheets in the workbook.

Once done, you can close the VB Editor.

The best part about this is that you can do this on any workbook. You don’t need to worry about saving the workbook in a macro-enabled format. Just execute a line of code and instantly unhide all the sheets in the workbook.

Let me also quickly explain the below VBA code that we have used in the immediate window to unhide sheets:

For each Sheet in Thisworkbook.Sheets: Sheet.Visible=True: Next Sheet

The above code uses a For Next VBA loop to go through all the sheets in the workbook and set the visible property to TRUE. Once the visible property of all the sheets is changed, the code will end.

The colon (:) used in the code above is equivalent to a line break. While it looks like a single line of code, it has three parts to it which are separated by two colons.

If you’re interested in learning more about the immediate window and some awesome things you can do with it, here is a detailed tutorial about it.

By Adding Macro to QAT (with One Click)

In case you have to unhide worksheets quite often, another good way could be to have the macro code to unhide sheets in the Personal macro workbook and save the icon in the Quick Access Toolbar.

This is just a one time process and once you have it done, you can then unhide sheets in any workbook by simply clicking on a button in the QAT.

This is by far the most efficient way to unhide sheets in Excel (most useful when you get a lot of workbooks with hidden sheets and you have to unhide these).

The trick here is to save the code to unhide sheets in the Personal Macro Workbook.

A Personal Macro Workbook is something that is always open when you open any Excel file (you can’t see it though). When you save a macro code to the Personal Macro workbook, this code is now always available to you. And when you add this to the QAT and you run the macro code with a single click.

Below is the code that you need to add to the Personal Macro Workbook:

Sub UnhideAllSheets()
For Each Sheet In Sheets
    Sheet.Visible = True
Next Sheet
End Sub

Below are the steps to add this code to the Personal Macro Workbook:

  1. Click on the record macro button (it’s at the bottom left of the Excel workbook application)Click on record macro icon
  2. In the Record Macro dialog box, change the Store macro in setting to – Personal Macro Workbook.Make sure Personal Macro Workbook is the place where macro is stored
  3. Click OK. This will start recording the macroClick on OK
  4. Click on the Stop macro recording icon (at the bottom left of the workbook). This will stop the macro recordingClick on Stop Macro Recording Icon
  5.  Right-click on any sheet tab and then click on ‘View Code’Click the View code option to open the VB Editor in Excel
  6. In the VB Editor, double-click on the Module object in the Personal.XLSB workbookDouble click on the Personal Macro Workbook Module option
  7. Remove any existing code and copy and paste the above code.Copy and Paste the code in the module
  8. Click the Save icon in the toolbarSave the macro in the Personal Macro Workbook
  9. Close the Vb Editor

The above steps allow you to make the Personal Macro Workbook visible in the VB Editor and place the code to unhide sheets in it.

Now all you need to do is add this code to the Quick Access Toolbar so that you can use it anytime from any workbook.

Below are the steps to add this code to the Quick Access Toolbar:

  1. Click on the Customize Quick Access Toolbar icon.Click on the Customize Quick Access Toolbar icon
  2. Click on More Commands.Click on More Commands
  3. In the Excel Options dialog box, click on the ‘Choose Commands from’ drop-downClick on Choose Commands Drop Down
  4. Click on Macros. This will show you a list of all the macros in the workbook (including the ones in PERSONAL.XLSB)Click on Macros
  5. Select the macro code to unhide sheetsClick on the macro that you want to add to the QAT
  6. Click on the Add buttonClick on the Add Button
  7. Click OK.

The above steps would add this macro code to unhide sheets in the Quick Access Toolbar.

Macro is added to the QAT

Now, whenever you get a workbook that has some sheets hidden, you just need to click on the code icon in the QAT and it will instantly unhide all sheets in one go.

Unhide Sheets With Specific Text in the Name

With VBA, you can also unhide sheets based on the name.

For example, suppose you have a workbook that contains sheets with years in the name and you want to unhide all the ones where the year is 2020.

You can use the below code to unhide all the sheets with the text 2020 in it:

Sub UnhideSheetsWithSpecificText()
For Each ws In ThisWorkbook.Worksheets
    If InStr(ws.Name, "2020") > 0 Then
        ws.Visible = xlSheetVisible
    End If
Next ws
End Sub

The above uses the For Next loop to go through each worksheet in the workbook. The IF Then condition then checks the name of the worksheet and if it contains the specified text (which is 2020 in this code), it will change the visible property to make it visible.

And if the name doesn’t contain the specified text, it will leave it as is.

You can also modify this code to hide sheets based on the text in the name.

For example, if you want to quickly hide all the worksheets where the name contains the text ‘2020’ in it, you can use the below code:

Sub HideSheetsWithSpecificText()
For Each ws In ThisWorkbook.Worksheets
    If InStr(ws.Name, "2020") > 0 Then
        ws.Visible = xlHidden
    End If
Next ws
End Sub

Note: You can save this code in a regular module inside VB Editor or you can save this in the Personal Macro Workbook. In case you save it in a regular module and need to use it again later, you need to save the workbook as a macro-enabled workbook (.XLSM format).

Unhide Selected Sheets (Based on User Selection)

You can also use VBA to give the user the flexibility to choose whether to unhide a sheet or not.

This can be done by showing a message box that asks the user to select whether to unhide a sheet or not. If selected, it unhides that sheet, else it moves to the next one.

Below is the code that will do this:

Sub UnhideSheetsUserSelection()
For Each sh In ThisWorkbook.Sheets
    If sh.Visible <> True Then
        Result = MsgBox("Do You Want to Unhide " & sh.Name, vbYesNo)
        If Result = vbYes Then sh.Visible = True
    End If
Next sh
End Sub

The above code goes through each sheet in the workbook and checks whether it’s already visible or not. If it’s hidden, then it shows the message box with the name of the worksheet.

As a user, you can now decide whether you want to keep this sheet hidden or unhide it.

This can work well if you have some worksheets that are hidden and you want to take a call for every sheet individually.

Note: You can save this code in a regular module inside VB Editor or you can save this in the Personal Macro Workbook. In case you save it in a regular module and need to use it again later, you need to save the workbook as a macro-enabled workbook (.XLSM format).

Here is a tutorial where I show how to save the code in the regular module in Excel (search for the ‘Where to put this code’ section in this article)

Unhide All or Selected Sheets Using Custom View

This is a less known method in case you want to quickly unhide all the worksheets (or some selected worksheets).

‘Custom View’ is functionality in Excel that allows you to create and save views that you can quickly resort to with a click of a button.

For example, suppose you have an Excel workbook with 10 worksheets. You can create a view where all these 10 sheets are visible. In the future, if you have some sheets hidden and you want o go back to the view where all the sheets were visible, you can do that by selecting the already saved custom view.

Don’t worry, you don’t lose any changes you made after creating the custom view. All custom view does is takes you back to the Excel view when you created it. So if some worksheets were visible when you created the view and are now hidden, selecting that custom view would unhide these sheets.

The intended use of Custom View is to allow users to create different views. For example, if you’re an analyst, you can create different views for different departments in your organization. So you can have a specific set of worksheets (or cells/rows/columns) visible for one department and another set for another department. Once you have these views, instead of changing this manually, you simply activate the view for a department and it will show you worksheets (or rows/columns) relevant for them only.

Below are the steps to create a custom view in Excel:

  1. Unhide all the worksheets to begin with
  2. Click the View tab
  3. Click on Custom ViewsClick on Custom Views option
  4. In the Custom Views dialog box, click on Add. This will open the Add view dialog boxClick on Add button in Custom views
  5. Enter any name for this view where all the sheets (or selected sheets) are visibleEnter the Custom view name
  6. Click OK.Click OK to create the custom view

Once the view is created, you can anytime ask Excel to activate this view (which would make all those sheets visible that were visible when you created the view).

Below are the steps to show/activate a custom view:

  1.  Click the View tab
  2. Click on Custom ViewsClick on Custom Views option
  3. In the Custom Views dialog box, select the view that you want to showSelect the custom view
  4. Click on Show buttonClick on Show to activate that custom view

This would instantly unhide sheets and show those that were visible when you created that custom view.

Unhiding Sheets that are ‘Very Hidden’

Sometimes, despite having some hidden sheets in your workbook, you would not be able to unhide it manually.

This could be because these sheets are not just hidden – these are ‘very hidden’.

When you have hidden sheets in a workbook and you right-click on any tab name, you would see the option to ‘Unhide’ sheets. But if you have sheets are ‘very hidden’ or if there are no hidden sheets, then you would not be able to use this option (it will be greyed out).

You can still unhide these ‘very hidden’ sheets by using the VBA code that we have covered above.

Just copy-paste the below code in the immediate window and hit enter and it would instantly unhide all the sheets (hidden as well as very hidden).

For each Sheet in Thisworkbook.Sheets: Sheet.Visible=True: Next Sheet

I also have a full tutorial on how to hide sheets and make these very hidden (in case you’re interested in learning)

You may also like the following Excel tutorials:

  • How to Quickly Unhide COLUMNS in Excel
  • How to Rename a Sheet in Excel
  • Delete Rows Based on a Cell Value (or Condition) in Excel
  • Hide Zero Values in Excel
  • Working with Worksheets using Excel VBA
  • How to Group Worksheets in Excel
  • How to Delete All Hidden Rows and Columns in Excel
  • Excel Tabs/Sheets Not Showing – How to Fix?

Unhide multiple worksheets

  1. Right-click the Sheet tab at the bottom, and select Unhide.
  2. In the Unhide dialog box, – Press the Ctrl key (CMD on Mac) and click the sheets you want to show, or. – Press the Shift + Up/Down Arrow keys to select multiple (or all) worksheets, and then press OK.

Contents

  • 1 Can you unhide all sheets in Excel at once?
  • 2 How do I unhide an entire Excel spreadsheet?
  • 3 How do I show all sheets in Excel?
  • 4 How do I unhide all?
  • 5 How do I unhide all columns?
  • 6 Why do my Excel sheets disappear?
  • 7 How do I unhide hidden sheets in Excel?
  • 8 How do I view all sheets in Excel 2010?
  • 9 How do I show all tabs?
  • 10 Can’t unhide all rows Excel?
  • 11 Can you unhide multiple rows in Excel at once?
  • 12 Why can’t I unhide all rows in Excel?
  • 13 How do I unhide all columns in Excel 2010?
  • 14 How do you unhide multiple columns in Excel?
  • 15 How do I expand all columns in Excel?
  • 16 How do you unfreeze a column in Excel?
  • 17 How do I see more tabs in Excel?
  • 18 How do I find out how many tabs I have open?
  • 19 Where is the sheet tab in Excel?
  • 20 How do you expand all collapsed rows in Excel?

Can you unhide all sheets in Excel at once?

Unfortunately, there is no in-built functionality in Excel to quickly unhide all the hidden worksheets (or a way to select more than one worksheet and unhide it). As of now, you need to use the unhide dialog box where you can only select one worksheet to unhide.

How do I unhide an entire Excel spreadsheet?

Unhide Worksheets Using the Ribbon

  1. Select one or more worksheet tabs at the bottom of the Excel file.
  2. Click the Home tab on the ribbon.
  3. Select Format.
  4. Click Hide & Unhide.
  5. Select Unhide Sheet.
  6. Click the sheet you want to unhide from the list that pops up.
  7. Click OK.

How do I show all sheets in Excel?

Excel: Right Click to Show a Vertical Worksheets List

  1. Right-click the controls to the left of the tabs.
  2. You’ll see a vertical list displayed in an Activate dialog box. Here, all sheets in your workbook are shown in an easily accessed vertical list.
  3. Click on whatever sheet you need and you’ll instantly see it!

Press Ctrl + Shift + 9 to unhide all rows or Ctrl + Shift + 0 (zero) to unhide all columns. If this doesn’t work, then right-click on a row or column identifier and select Unhide. Note that you need to select the identifier—you can’t just click anywhere and select Unhide using this particular method.

How do I unhide all columns?

Here are the steps to unhide all columns at one go:

  1. Click on the small triangle at the top left of the worksheet area. This will select all the cells in the worksheet.
  2. Right-click anywhere in the worksheet area.
  3. Click on Unhide.

Why do my Excel sheets disappear?

The Show sheet tabs setting is turned off. First ensure that the Show sheet tabs is enabled. To do this, For all other Excel versions, click File > Options > Advanced—in under Display options for this workbook—and then ensure that there is a check in the Show sheet tabs box.

How do I unhide hidden sheets in Excel?

Right-click the sheet tab you want to hide, or any visible sheet if you want to unhide sheets. On the menu that appears, do one of the following: To hide the sheet, select Hide. To unhide hidden sheets, select them in the Unhide dialog that appears, and then select OK.

How do I view all sheets in Excel 2010?

How to Display Sheet Tabs in Excel 2010

  1. Open Excel.
  2. Click File.
  3. Choose Options.
  4. Select the Advanced tab.
  5. Check the box to the left of Show sheet tabs.
  6. Click OK.

How do I show all tabs?

As of 2021, there is a native Chrome feature that allows you to scroll through all of your open chrome tabs (as well as some recently closed ones). To access it, click on the dropdown arrow next to the minimize tab button. It will open up a scrollable dropdown with all tabs open in Chrome.

Can’t unhide all rows Excel?

Can’t unhide rows A!:A3

  1. To select all cells on a worksheet, do one of the following: Click the Select All button. Press CTRL+A.
  2. On the Home tab, in the Cells group, click Format.
  3. Do one of the following: Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.

Can you unhide multiple rows in Excel at once?

The skipped number rows are the hidden row. Click the symbol to select the whole sheet. Now Right click anywhere on the mouse to view options. Select Unhide option to unhide all the rows at once.

Why can’t I unhide all rows in Excel?

If you select all the rows and click ‘unhide’ and they do not show up, then they are filtered and not hidden. Click the Sort & Filter button on the Home tab of the ribbon and then click ‘clear’.You should be able to unhide all of the rows inbetween after that.

How do I unhide all columns in Excel 2010?

Select the Home tab from the toolbar at the top of the screen. Select Cells > Format > Hide & Unhide > Unhide Columns. Now you should be able to see column A in your Excel spreadsheet.

How do you unhide multiple columns in Excel?

Unhide columns

  1. Select the adjacent columns for the hidden columns.
  2. Right-click the selected columns, and then select Unhide.

How do I expand all columns in Excel?

Select the column or columns that you want to change. On the Home tab, in the Cells group, click Format. Under Cell Size, click AutoFit Column Width. Note: To quickly autofit all columns on the worksheet, click the Select All button, and then double-click any boundary between two column headings.

How do you unfreeze a column in Excel?

To unfreeze panes, open your Excel spreadsheet. Select the View tab from the toolbar at the top of the screen and click on the Freeze Panes button in the Windows group. Then click on the Unfreeze Panes option in the popup menu. Now when you move around in your spreadsheet, columns and rows should display as normal.

How do I see more tabs in Excel?

View two worksheets in the same workbook side by side

  1. On the View tab, in the Window group, click New Window.
  2. On the View tab, in the Window group, click View Side by Side .
  3. In each workbook window, click the sheet that you want to compare.
  4. To scroll both worksheets at the same time, click Synchronous Scrolling.

How do I find out how many tabs I have open?

Just simply, enable Talkback mode in accessibility features. Then when you hover (if you have Bluetooth mouse enabled) or tap the tab icon (with your finger) (the :D), it will tell you how many tabs you have open.

Where is the sheet tab in Excel?

bottom
The worksheet tab can be found at the bottom of every excel worksheet tab.

How do you expand all collapsed rows in Excel?

Press the “Ctrl-Shift-(” keys together to expand all hidden rows in your Excel spreadsheet.

How to Unhide Sheets in Excel

Unhide All Sheets In Excel (Table of Contents)

  • Introduction to Unhide Sheets in Excel
  • Examples to Unhide Worksheets in Excel

Introduction to Unhide Sheets in Excel

In this article, we will see an outline on How to unhide sheets in excel?. Hiding multiple worksheets in an Excel workbook is quite easy; however, unhiding them can be tedious. We can unhide multiple sheets one by one in Excel or use a VBA code to unhide all of these in one go. The need to unhide sheets can be seen when we analyze that the sheet is hidden.

Let us see below some of the commonly used methods or ways using which we can unhide one or all of the hidden worksheets in an Excel workbook.

Examples to Unhide Worksheets in Excel

Let’s look at a few examples to unhide all hidden worksheets one by one in Excel.

You can download this How to Unhide All Sheet in Excel Template here – How to Unhide All Sheet in Excel Template

Example #1

Let us say we have an Excel workbook with three worksheets (named as Sheet1, Sheet2, Sheet3) that are hidden, and we wish to unhide one or all of these hidden worksheets one by one. To do this, we follow the below steps:

  • Click on the ‘Home’ tab, and then select ‘Format’ -> ‘Hide & Unhide’ -> ‘Unhide Sheet’ :

How to Unhide All Sheets in Excel 1-1

On doing this, an Unhide dialog box will appear with all the hidden worksheets. The following screenshot illustrates this.

How to Unhide All Sheets in Excel 1-2

Now select the sheet that is to be unhidden and then click on ‘OK.’ This will display the selected hidden sheet.

How to Unhide All Sheets in Excel 1-3

How to Unhide All Sheets in Excel 1-4

So in the above screenshot, we can see that ‘Sheet1’ is now visible to us that was previously hidden. We can repeat the above steps if we wish to unhide the other two sheets.

How to Unhide All Sheets in Excel 1-5

Example #2

Now, we wish to unhide ‘Sheet2’ and ‘Sheet3’ in the same Excel workbook. We use another method to do this:

Right-click on any of the worksheet tabs and then select ‘Unhide.’

How to Unhide All Sheets in Excel 2-1

On doing this, an Unhide dialog box will appear with all the hidden worksheets. The following screenshot illustrates this.

How to Unhide All Sheets in Excel 2-2

Now select the sheet that is to be unhidden and then click on ‘OK.’ This will display the selected hidden sheet.

How to Unhide All Sheets in Excel 2-3

So in the above screenshot, we can see that ‘Sheet2’ is now visible to us that was previously hidden.

How to Unhide All Sheets in Excel 2-4

Now we can repeat the above steps to unhide ‘Sheet3’ as well.

Example #3

Apart from the above two ways that we have used to unhide one sheet at a time, there is another method to open the same ‘Unhide’ dialog box and then unhide the required hidden sheet. Let us see how this method works:

  • Press Alt+H+O+U+H. On using this Excel shortcut key, the Unhide dialogue box (same as we saw in the above two examples) will appear with all the hidden worksheets. Below is the screenshot:

Hidden Worksheet 3-1

Now select the sheet that is to be unhidden and then click on ‘OK’. This will display the selected hidden sheet.

Hidden Worksheet 3-2

So in the above screenshot, we can see that ‘Sheet3’ is now visible to us that was previously hidden.

Hidden Worksheet 3-3

Example #4

Now, in the workbook that we have seen in the above three examples, we again hide all the three sheets (Sheet1, Sheet2, Sheet3) in them. So this is how the workbook looks like now:

Hidden Worksheet 4-1

Now we wish to unhide all the hidden worksheets in one go. In the above three examples, we have seen that we could not unhide all the sheets at once. Using the ‘Unhide’ dialog box, we could only unhide one sheet at a time. But this might be quite a time taking if there are many sheets that are required to be unhidden. So one way to unhide all the hidden sheets in one go is by writing a VBA code in Excel. Let us see how this works:

We write the VBA code in the Visual Basic Editor that can be accessed as follows:

Go to the Developer tab, then click on Visual Basic Editor, or press Alt+F11 to open the Visual Basic Editor window.

Hidden Worksheet 4-2

On doing this, a window opens as follows:

Hidden Worksheet 4-3

Right-click on the workbook name in the ‘Project-VBAProject’ pane and then click on ‘Insert’-> ‘Module’ as follows :

module VBA Project

Now we can write our VBA code or sub-procedure in this module:

Code:

Sub UnhideAllSheetsCode()

End Sub

unhide sheet 4-2

Define the variable ‘ws’:

Code:

Sub UnhideAllSheetsCode()

Dim ws As Worksheet
End Sub

unhide 4-1

So the first statement of the code defines the variable ‘ws’.

In the following statements of the VBA code, we use the ‘For Each’ loop with Worksheet.Visible property to unhide all the hidden worksheets in the current or active workbook.

Code:

Sub UnhideAllSheetsCode()

Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
wsVisible = xlSheetVisible
Next ws

End Sub

unhide 4-4

The Worksheet .Visible property is used to return or set an xlSheetVisibility value which is used to check or determine if the object is visible. xlSheetVisibility is a way for the user to make the sheets visible by setting the visible property to true. The syntax for the visible property is expression .visible, where expression is a variable that represents a Worksheet object.

Now when we run this code manually by clicking on ‘Run’ at the top of the window or by pressing F5, we will see that all the hidden sheets get unhidden all in one go. The following screenshot illustrates this:

unhide 4-5

So, we can see in the above screenshot that on running the sub-procedure or the VBA code, all the hidden sheets (Sheet1, Sheet2, Sheet3) in the workbook get visible in one go.

unhide 4-6

Things to Remember About How to Unhide All Sheets In Excel

  • There may be times when we are unable to unhide certain worksheets in an Excel workbook. This may be due to the following reasons:
  1. The workbook may be protected.
  2. The worksheets are hidden using a VBA code (i.e. they are ‘VeryHidden’ using the XlSheetVeryHidden property).
  • We can also unhide all the worksheets except a particular worksheet in a workbook by writing a VBA code.
  • Another method to unhide all sheets in one go that can be used in all the versions of Excel is using the ‘Custom Views’ method.

Recommended Articles

This is a guide to How to Unhide All Sheets in Excel?. Here we discuss How to Unhide All Sheets in Excel along with practical examples and downloadable excel template. You can also go through our other suggested articles –

  1. Protect Sheet in Excel
  2. Create a Spreadsheet in Excel
  3. Insert New Worksheet In Excel
  4. Worksheets in Excel

Unhiding hidden worksheets in Excel was for a long time troublesome, especially if there were many hidden worksheets in your workbook. Fortunately, Microsoft has just released a new feature in Office 365 (now: “Microsoft 365) for unhiding multiple sheets at once. So far, so good. But what, if you want to unhide “very hidden” sheets? Or, what if you work with older Office versions? Here is everything you need to know!

In this first part you learn to unhide “normal” hidden worksheets in Excel. This regards the far majority of hidden worksheets. If you “miss” a worksheet from the list of hidden sheets, it’s possible that it is very hidden. For very hidden sheets, please click here to scroll down.

Unhide worksheets manually

excel, unhide, manually, worksheet, sheet, hide
Unhide worksheets manually by right clicking on any other worksheet.

The first step: Check if there are any hidden worksheets. Therefore, right click on any sheet name. If the “Unhide” option is greyed out, there are no hidden worksheets in your workbook.

If the “Unhide” button in clickable, click on it. Now you’ll see a list with all hidden (not very hidden) worksheets. Click on any worksheet name in that list and click on OK. 

You want to hide a worksheet? It works basically the same way, just click “Hide” instead of “Unhide”. Please refer to this article for more information.

Update 2021: Unhiding multiple sheets at once with built-in methods (Office 365)

It’s finally here: Unhide multiple worksheets at once in Excel. Microsoft has listened to user suggestions and implemented a fast method to unhide several worksheets:

  1. Right-click on any sheet name.
  2. Click on “Unhide…” (again: if this button is greyed-out it means that there are no hidden sheets in your file).
  3. Hold down the Ctrl key on the keyboard and click on the sheet names one by one you want to show.
    Alternatively, hold down the Shift key to select many sheets at once.

Please note: This feature is only available in Office 365 since beginning of 2021. If you work with older versions of Office / Excel, you have to use one of the following methods.

Unhiding multiple worksheets at once with older versions of Excel

unhide, worksheets, sheets, hide, excel, all, complete
Steps for pasting the VBA function to your Excel Workbook

Again, this is primarily revelant for older versions of Excel (not Office 365 since beginning of 2021; if you are on the current Excel version please scroll up). There is another way of unhiding all hidden and very hidden worksheets: Using VBA. As usual, do the following steps:

  1. Go to the developer ribbon in Excel (or just press Alt + F11 on the keyboard and skip the next step number two).
  2. Click on “Visual Basic”.
  3. Add a new module. Therefore, right click on any sheet and then click on “Insert” and “Module”.
  4. Paste the following code.
  5. Press start on the top.

You can follow the steps on the screenshot on the right-hand-side. If you need assistance with adding the VBA module, please refer to this article.

Sub PROFEXUnhideAllWorksheets()
    'Unhide all sheets in workbook.
    
    Dim PROFEXWorksheet As Worksheet
    'A variable for going through all the worksheets
    
    For Each PROFEXWorksheet In ActiveWorkbook.Worksheets
    'Do for each worksheet, no matter if hidden or unhidden
    
        PROFEXWorksheet.Visible = xlSheetVisible
        'Make the current worksheet visible
        
    Next PROFEXWorksheet
    'End of the loop...

End Sub

How to unhide hidden worksheets with a keyboard shortcut?

To speed up unhiding sheets with older versions than the current Office 365 version, you can use keyboard shortcuts. Press the following keys after each other:

Alt –> O –> H –> U –> Enter 

Repeat these steps – this should speed up the process of unhiding. There is one more disadvantage: This method doesn’t work for all “very hidden” worksheets in Excel.

Very hidden worksheets you have to unhide within the VBA editor (see below in part 2). Select the very hidden worksheet and set the visibility to show. Therefore click on “Visible” in the properties window (usually on the left bottom corner) and set it to “xlSheetVisible”.


Do you want to boost your productivity in Excel?

Get the Professor Excel ribbon!

Add more than 120 great features to Excel!


very hidden, hide, worksheets, worksheet, sheet, unhide, vba, excel
How to hide or unhide a “very hidden” worksheet in Excel

Yes, it sounds strange. Maybe programmer humor… But there is the option to set sheets to “very hidden” in Excel. For unhiding “very hidden” worksheets, you have to open the VBA editor.

  1. Click on “Visual Basic” on the left hand side of the Developer ribbon.
  2. You can see a list of all worksheets within the Project Explorer.
  3. Change the status “Visible” to “xlSheetVisible”.

Part 3: Unhide unhiding hidden and very hidden worksheets comfortably

As unhiding worksheets can be very troublesome, we have included a very simple function into Professor Excel Tools: A worksheet manager.

Just click on “Unhide Sheets” on the “Professor Excel” ribbon. If you don’t have it yet: Download the add-in here.

worksheet, manager, professor, excel, tools

Worksheet Manager in the Excel add-in Professor Excel Tools.
  1. Check the summary: How many hidden and very hidden worksheets does your file have?
  2. Conveniently see all worksheets in a list and select them easily. See also the visibility level of “Visible”, “Hidden” or “Very hidden”.
  3. Either select all sheets from the list or click one of the easy select button (for example, select all hidden but not very hidden worksheets).
  4. Action: Decide, what to do with these sheets: Unhide them, hide them or set them to very hidden.

Professor Excel Tools Box

This function is included in our Excel Add-In ‘Professor Excel Tools’

(No sign-up, download starts directly)


Bottom line: Learn a few different ways to unhide (show) multiple sheets at the same time with a VBA macro or add-in.

Skill Level: Intermediate

Depending on which version of Excel you are using, you might not be able to unhide two or more sheets at the same time.  If you are NOT using Microsoft 365, then the Unhide menu only allows you to select one sheet at a time.

Cannot Unhide Multiple Sheets

This can make the process of unhiding multiple sheets very time-consuming, especially if you want to unhide all the sheets in the workbook.  So in this article, we will look at a few different ways to quickly make sheets visible.

#1 – Use Microsoft 365

In 2021, Microsoft released an update for Excel that now allows you to unhide multiple sheets at the same time.

This is the ultimate solution and I’m happy that Microsoft fixed this issue.

If you aren’t on the latest version of Excel yet, then the next three solutions will help you with automating the process of unhiding multiple sheet tabs.

#2 – Use the VBA Immediate Window to Unhide All

The fastest way to make all the sheets visible in Excel is to use a macro (VBA).  The following line of VBA code uses a For Next Loop to loop through each sheet in the active workbook and make each sheet visible.

For Each ws In Sheets:ws.Visible=True:Next

You can run this code in the VB Editor’s Immediate Window in three easy steps:

  1. Alt+F11 (opens the VB Editor Window)
  2. Ctrl+G (opens the Immediate Window)
  3. Paste the following line of code in the Immediate Window and press Enter
    For Each ws In Sheets:ws.Visible=True:Next

The screencast below shows how to implement these steps.

Unhide All Excel Worksheets with the VBA Immediate Window

That line of code loops through all the worksheets in the workbook and sets each sheet’s visible property to “True”.  This makes each sheet visible, which is the same as unhiding each sheet.

The colon character “:” used in the code allows you to basically combine multiple lines of code into one line.  This makes it possible to run in the Immediate Window because the Immediate Window only evaluates one line of code at a time.

Check out my article on 5 Ways to Use the VBA Immediate Window to learn more.  And a big thanks to Jan Karel Pieterse of www.jkp-ads.com for sharing this trick in the comments section.

#3 – Use a Macro to Unhide Multiple Sheets

If you are scratching your head at that line of code in #1, this section should help explain it better.

The macro below is basically that same line of code, but it is broken up into multiple lines.  This makes it much easier to read and understand.

Sub Unhide_Multiple_Sheets()
Dim ws As Worksheet
    
    For Each ws In ActiveWorkbook.Worksheets
        
        ws.Visible = xlSheetVisible
    
    Next ws

End Sub

Download the file that contains the macro.

The lines in the code above that start with “For” and “Next” represent a For-Next Loop Statement.   The first line “For Each ws In ActiveWorkbook.Worksheets” tells the macro to loop through each worksheet in the worksheets collection of the workbook.

The Unhide Mulitple Sheets in Excel VBA Macro Explained

That line also references the variable “ws” and sets it to represent the worksheet object.  This means that “ws” temporarily represents the current worksheet in the loop.

When the “Next ws” line of code is hit, the macro jumps back up to the first line of code within the loop and evaluates it again.  It continues to loop through all the sheets in the workbook’s worksheet collection (Activeworkbook.Worksheets).

We can then use “ws” inside the loop to change the current worksheet’s properties.  In this case, we are setting the “Visible” property of the sheet to be visible (xlSheetVisible).  The visible property has three different properties to choose from:

  • xlSheetHidden
  • xlSheetVeryHidden
  • xlSheetVisible

Excel VBA Worksheet Visible Property Enumerations

You can also set the property to “True”, which works the same as xlSheetVisible.

Here is the documentation on the VBA Visible property from Microsoft.  And checkout my article on the For Next Loop for a detailed explanation of how it works.

Unhide Sheets That Contain a Specific Name

What if we only want to unhide the sheets that contain the word “pivot” in the sheet name?

We can add a simple IF statement to the macro to only unhide sheets that contain a specific name or text.

Sub Unhide_Sheets_Containing()
Dim ws As Worksheet
    
    For Each ws In ActiveWorkbook.Worksheets
        If InStr(ws.Name, "pivot") > 0 Then
            ws.Visible = xlSheetVisible
        End If
    Next ws

End Sub

Download the file that contains the macro.

The InStr function searches for text in a string and returns the position of the first occurrence of the text.  It is short for InString, and the function is similar to the SEARCH or FIND functions in Excel.

So in this case we are looking for any sheet that contains the word “pivot” in the sheet name.  The “ws.name” reference returns the name of the worksheet that is currently being evaluated in the For-Next loop.

So this line “If InStr(ws.Name, “pivot”) > 0 Then” basically says, if the word “pivot” is found in the sheet name then the Instr function will return a number greater than zero.  The IF statement will evaluate to True and the next line of code will be run to unhide the sheet.

If the word “pivot” is NOT found in the sheet name, then the IF statement will evaluate to False and the code will skip all lines until it gets to the “End If” line.  Therefore, the sheet that is currently being evaluated in the loop will keep its current visible property (visible or hidden).

This macro works great if you are hiding and unhiding sheets every day/week/month for a report that you maintain.  Run the macro to unhide specific sheets when you open the workbook.  After you are finished, run the same code but change the visible property to xlSheetHidden to re-hide the sheets (you can create a new macro for this).

#4 – Use Tab Hound or Tab Control

If all this code is making your head spin, the Tab Hound Add-in allows you to unhide multiple sheets with the click of a few buttons.

The screencast below shows how simple this is.

Unhide Multiple Sheets with the Tab Hound Add-in for Excel

The Tab Hound window contains a list of all the sheets in the workbook.  You can select multiple sheets in the list, then press the Unhide button to unhide all the selected sheets.

This makes the process of unhiding multiple sheets really fast!

Tab Hound also contains additional ways to filter the sheet list.  You can type a search in the search box, filter for all visible or hidden tabs, and even filter by tab color.  This makes it easy to find the sheets you are looking for and then perform actions on them like hiding/unhiding.

This video also shows how to quickly hide and unhide multiple sheets with Tab Hound.

Click here to learn more about Tab Hound

Publishing Reports? Tab Control Will Save You Time

If you are producing weekly or monthly reports, and want to make sure all the right sheets are hidden before you send it out, the Tab Control add-in can save you a lot of time.

Here is a scenario that we commonly face…

We need to update a workbook with new data this week and make some changes before emailing it out. Those updates require us to unhide a few sheets, make the changes, then hide the sheets again. It can be a time-consuming process if you have to hide/unhide a lot of sheets.

Quickly Hide and Unhide Multiple Sheets with Tab Control Add-in

Tab Control will set up a control sheet in your workbook with a list of all the worksheet names. You can set the visible property for each sheet in the list, then click a button to hide or unhide all the sheets based on the list.

This means you can set up the control sheet to a specific view, so only specific worksheets are visible. Click the “Run Update” button and all sheets will be hidden/unhidden based on your control sheet. This ensures that your report will show the correct sheets every time you send it out, and make you look really organized. 🙂

The Tab Control add-in is included with Tab Hound.

Click here to learn more about Tab Hound

Conclusion

Unhiding multiple sheets at the same time in Excel will require code or a macro. There is one other way to use Custom Views, but it has limitations if you use Excel Tables (and I love Tables).

Hopefully, you learned some VBA code that you can implement. You can also add the macros to your Personal Macro workbook to run them anytime you need.

If coding isn’t your thing then check out the Tab Hound add-in.  It will save you time and make your life a lot easier. (win-win!) 🙂

Please leave a comment below with any questions. Thanks!

Different Methods to Unhide Excel Sheets

Unhiding a single Excel sheet is as easy as hiding them. But as a new learner, it is important to know the process. We can unhide the sheet in several ways. We will show each one of them now in this article.

Table of contents
  • Different Methods to Unhide Excel Sheets
    • Method #1 – Using Right Click
    • Method #2
    • Method #3
    • Method #4 – Unhide Multiple Sheets
    • Method #5 – Unhide All Worksheets Except Particular Worksheet
    • Method #6 – Unhide Only Specific Excel Sheet
    • Recommended Articles

Unhide-Sheets-in-Excel

You are free to use this image on your website, templates, etc, Please provide us with an attribution linkArticle Link to be Hyperlinked
For eg:
Source: Unhide Sheets in Excel (wallstreetmojo.com)

There are various ways by which you can unhide a single Excel sheet.

You can download this Unhide Sheets Excel Template here – Unhide Sheets Excel Template

Method #1 – Using Right Click

The steps to unhide sheets in Excel are as follows:

  1. First, we need to right-click any worksheet tabs to unhide the sheet.

    Unhide Single Sheet Example 1.1

  2. Once you right-click, you can see the options below.

    Unhide Single Sheet Example 1.2

  3. Select the “Unhide” option in these options, and you will see a list of all hidden worksheets.

    Unhide Single Sheet Example 3.2

  4. Select the worksheet that you want to unhide and click on “OK.” It will unhide the selected sheet.

    Unhide Single Excel Sheet

  5. Now, we can see the worksheet named “WS1” in the “My Sheet” tab.

    Unhide Single Sheet Example 1.4

Method #2

This method is more tedious than the above, but knowing different techniques is always a good option.

  • Step 1: To unhide single Excel sheet go to Home > Format > Hide & Unhide > Unhide Sheet.

Unhide Single Sheet Example 2.1

  • Step 2: Upon clicking that option, as shown in the above image, we can see the below window.

Unhide Single Sheet Example 2.2

As usual, select the worksheet that you want to unhide and click on “OK.” It will unhide the selected sheet.

Method #3

A more efficient one comes, i.e., using Excel Shortcut KeyAn Excel shortcut is a technique of performing a manual task in a quicker way.read more. So, yes, we can unhide the sheet using the shortcut key.

  • Step 1: Just press “ALT + H + O + U + H” to open the unhide sheet box.

Unhide Single Sheet Example 3.1

  • Step 2: This will open the below window.

Unhide Single Sheet Example 3.2

As usual, select the worksheet that you want to unhide and click on “OK.” It will unhide the selected sheet.

Method #4 – Unhide Multiple Sheets

Unhide window can only unhide single sheets at a time, but imagine you have to unhide 10 sheets, then repeating the same set of tasks 10 times is frustrating. So, how do we unhide all the worksheets once?

We can unhide all the sheets by writing the VBA codeVBA code refers to a set of instructions written by the user in the Visual Basic Applications programming language on a Visual Basic Editor (VBE) to perform a specific task.read more in Excel. Below is the code to unhide all the hidden worksheets in the workbook.

Code:

Sub Unhide_All_Worksheets()

    Dim WSht As Worksheet

    For Each WSht In ActiveWorkbook.Worksheets
        WSht.Visible = xlSheetVisible
    Next WSht

End Sub

Unhide All Worksheet 1.1

  • We have used the For Each loop in VBAVBA For Each Loop helps the user to inspect and analyze the groups of objects or values individually. It even facilitates performing the specific activity for every object or value by passing a statement or group of statements in this reference.read more to unhide the worksheet. You must copy the above code, go to your worksheet, and then press ALT + F11 to open Visual Basic Editor.

Unhide All Worksheet 1.2

  • Now, insert a new module under the “INSERT” option.

Unhide All Worksheet 1.3

  • In the new module, paste the copied code.

Unhide All Worksheet 1.4

  • Now, run this code. It will unhide all the hidden worksheets in the workbook.

Unhide All Sheets

Method #5 – Unhide All Worksheets Except Particular Worksheet

There are situations where we need to unhide all the worksheets except the specific worksheet. In such cases also, we can use VBA Coding. For example, assume you want to unhide all the worksheets except the worksheet named “Workings.”

The below code will do the same.

Code:

Sub Unhide_All_Except_One()

     Dim WSht As Worksheet

     For Each WSht In ActiveWorkbook.Worksheets
         If WSht.Name <> "Workings" Then
         WSht.Visible = xlSheetVisible
         End If
     Next WSht

End Sub

Unhide All Worksheet Except One

Now, run this code, and it will unhide all worksheets except the one named “Workings.”

You can change the worksheet name from “Workings” to your worksheet name.

Method #6 – Unhide Only Specific Excel Sheet

Similarly, if you want to unhide only a specific Excel sheet, VBA can do this. For example, if you are going to unhide only the worksheet named “Working,” then we can use this code.

Code:

Sub Unhide_One_Sheet()

     Dim WSht As Worksheet

     For Each WSht In ActiveWorkbook.Worksheets
         If WSht.Name = "Workings" Then
         WSht.Visible = xlSheetVisible
         End If
     Next WSht

End Sub

Unhide Single Worksheet using VBA

Recommended Articles

This article has been a guide to Unhide Sheets in Excel. Here, we discuss how to unhide single and multiple worksheets using different methods in Excel with a downloadable template. You can learn more from the following articles: –

  • Comparison Chart in Excel
  • Auditing Tool in Excel
  • Percentage Change Excel Formula
  • Hide Columns in VBA

Содержание

  1. Hide or Unhide worksheets
  2. Hide or unhide a worksheet
  3. Hide or unhide a workbook window
  4. Hide or display workbook windows on the Windows taskbar
  5. Hide or unhide a worksheet
  6. Hide or unhide a workbook window
  7. Hide a worksheet
  8. Unhide a worksheet
  9. Need more help?
  10. How to Unhide Sheets in Excel (All In One Go)
  11. Unhiding Sheets Manually
  12. Unhide All Sheets At One Go
  13. Using Immediate Window
  14. By Adding Macro to QAT (with One Click)
  15. Unhide Sheets With Specific Text in the Name
  16. Unhide Selected Sheets (Based on User Selection)
  17. Unhide All or Selected Sheets Using Custom View
  18. Unhiding Sheets that are ‘Very Hidden’

Hide or Unhide worksheets

You can hide any worksheet to remove it from view. The data in hidden worksheets is not visible, but it can still be referenced from other worksheets and workbooks, and you can easily unhide hidden worksheets as needed.

Right-click the sheet tab you want to hide, or any visible sheet if you want to unhide sheets.

On the menu that appears, do one of the following:

To hide the sheet, select Hide.

To unhide hidden sheets, select them in the Unhide dialog that appears, and then select OK.

Notes: To select multiple sheets do either of these:

Press and hold CTRL, then click the items to select them.

Press and hold SHIFT, then use the up and down arrow keys to adjust your selection.

These steps work for Microsoft 365 subscribers, as do the steps on the tab below that matches your operating system. For perpetual Office versions, see the tabs below for steps supported by your specific version of Excel.

Hide or unhide a worksheet

Note: The screen shots in this article were taken in Excel 2016. If you have a different version your view might be slightly different, but unless otherwise noted, the functionality is the same.

Select the worksheets that you want to hide.

How to select worksheets

Click the sheet tab.

If you don’t see the tab that you want, click the scrolling buttons to the left of the sheet tabs to display the tab, and then click the tab.

Two or more adjacent sheets

Click the tab for the first sheet. Then hold down Shift while you click the tab for the last sheet that you want to select.

Two or more nonadjacent sheets

Click the tab for the first sheet. Then hold down Ctrl while you click the tabs of the other sheets that you want to select.

All sheets in a workbook

Right-click a sheet tab, and then click Select All Sheets on the shortcut menu.

Tip: When multiple worksheets are selected, [Group] appears in the title bar at the top of the worksheet. To cancel a selection of multiple worksheets in a workbook, click any unselected worksheet. If no unselected sheet is visible, right-click the tab of a selected sheet, and then click Ungroup Sheets on the shortcut menu.

On the Home tab, in the Cells group, click Format > Visibility > Hide & Unhide > Hide Sheet.

Cells > Format > VIsibility > Hide & Unhide» loading=»lazy»>

To unhide worksheets, follow the same steps, but select Unhide. You’ll be presented with a dialog box listing which sheets are hidden, so select the ones you want to unhide.

Note: Worksheets hidden by VBA code have the property xlSheetVeryHidden; the Unhide command will not display those hidden sheets. If you are using a workbook that contains VBA code and you encounter problems with hidden worksheets, contact the workbook owner for more information.

Hide or unhide a workbook window

On the View tab, in the Window group, click Hide or Unhide.

On a Mac, this is under the Window menu in the file menu above the ribbon.

Windows > Hide/Unhide» loading=»lazy»>

When you Unhide a workbook, select from the list in the Unhide dialog box.

If Unhide is unavailable, the workbook does not contain hidden workbook windows.

When you exit Excel, you will be asked if you want to save changes to the hidden workbook window. Click Yes if you want the workbook window to be the same as you left it (hidden or unhidden), the next time that you open the workbook.

Hide or display workbook windows on the Windows taskbar

Excel 2013 introduced the Single Document Interface, where each workbook opens in its own window.

Click File > Options.

For Excel 2007, click the Microsoft Office Button , then Excel Options.

Then click Advanced > Display > clear or select the Show all windows in the Taskbar check box.

Hide or unhide a worksheet

Select the worksheets that you want to hide.

How to select worksheets

Click the sheet tab.

If you don’t see the tab that you want, click the scrolling buttons to the left of the sheet tabs to display the tab, and then click the tab.

Two or more adjacent sheets

Click the tab for the first sheet. Then hold down Shift while you click the tab for the last sheet that you want to select.

Two or more nonadjacent sheets

Click the tab for the first sheet. Then hold down Command while you click the tabs of the other sheets that you want to select.

All sheets in a workbook

Right-click a sheet tab, and then click Select All Sheets on the shortcut menu.

On the Home tab, click Format > under Visibility > Hide & Unhide > Hide Sheet.

To unhide worksheets, follow the same steps, but select Unhide. The Unhide dialog box displays a list of hidden sheets, so select the ones you want to unhide and then select OK.

Hide or unhide a workbook window

Click the Window menu, click Hide or Unhide.

When you Unhide a workbook, select from the list of hidden workbooks in the Unhide dialog box.

If Unhide is unavailable, the workbook does not contain hidden workbook windows.

When you exit Excel, you will be asked if you want to save changes to the hidden workbook window. Click Yes if you want the workbook window to be the same as you left it (hidden or unhidden) the next time that you open the workbook.

Hide a worksheet

Right click on the tab you want to hide.

Unhide a worksheet

Right click on any visible tab.

Select Unhide.

Mark the tabs to unhide.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in the Answers community.

Источник

How to Unhide Sheets in Excel (All In One Go)

Watch Video – How to Unhide All Sheets In Excel

In case you prefer reading a tutorial over watching a video, below is a detailed written tutorial on unhiding sheets in Excel.

When you work with data that is spread across multiple worksheets in Excel, you may want to hide a few worksheets. This could be to avoid the clutter or to not show some data to your client/manager by hiding some worksheets and only keeping the useful ones visible.

And in some cases, you may have a workbook that has some hidden sheets and you want to unhide some or all of these worksheets.

In this tutorial, I will show you some methods to unhide worksheets in Excel (manually as well as automatically using VBA). I will also show you how to selectively unhide worksheets based on the name or a condition.

So let’s get started!

This Tutorial Covers:

Unhiding Sheets Manually

If you only have a few worksheets that are hidden, you can manually unhide some or all of these worksheets.

Suppose you have an Excel workbook that has 10 worksheets that are hidden.

Below are the steps to manually unhide worksheets (one at a time):

  1. Right-click on any of the existing worksheet tab
  2. Click on the Unhide option. This will open the Unhide dialog box that lists all the hidden worksheets
  3. In the Unhide dialog box, click on the worksheet that you to unhide (you can only select one at a time).
  4. Click OK.

The above steps would unhide the select worksheet.

Note: Unfortunately, there is no in-built functionality in Excel to quickly unhide all the hidden worksheets (or a way to select more than one worksheet and unhide it). As of now, you need to use the unhide dialog box where you can only select one worksheet to unhide.

You can hide worksheets in bulk, but not unhide in bulk

If you want to hide worksheets, you can select multiple worksheets at once (hold the control key and click on the worksheet tab name), right-click and click on the Hide option.

Unfortunately, there is no in-built functionality in Excel to quickly unhide all the hidden worksheets (or a way to select more than one worksheet and unhide it). As of now, you need to use the unhide dialog box where you can only select one worksheet to unhide.

While there is no-inbuilt functionality to unhide in bulk, you can easily do this with a simple VBA macro code.

Unhide All Sheets At One Go

With VBA, you can easily unhide worksheets in bulk.

For example, if you have 10 hidden worksheets, you can create a simple VBA code to unhide all the worksheets or you can unhide based on a condition (such as unhide only those where there is a specific prefix or year in the name).

Note: The methods covered in this tutorial doesn’t require you to save an Excel workbook in a macro-enabled format (.XLSM) to use the VBA code.

Using Immediate Window

VB Editor in Excel has an immediate window where you can type a line of code and instantly execute it right away.

Below are the steps to use this above line of code to unhide sheets through immediate window:

  1. Right-click on any of the visible sheets in the workbook
  2. Click on View code. This will open the VB Editor.
  3. Click the View option in the menu and then click on the Immediate window. This will make the Immediate window appear in the VB Editor (if not there already).
  4. In the Immediate window, copy and paste the following line of code: For each Sheet in Thisworkbook.Sheets: Sheet.Visible=True: Next Sheet
  5. Place the cursor at the end of the line
  6. Hit the Enter key

The above steps would instantly unhide all the sheets in the workbook.

Once done, you can close the VB Editor.

Let me also quickly explain the below VBA code that we have used in the immediate window to unhide sheets:

The above code uses a For Next VBA loop to go through all the sheets in the workbook and set the visible property to TRUE. Once the visible property of all the sheets is changed, the code will end.

The colon (:) used in the code above is equivalent to a line break. While it looks like a single line of code, it has three parts to it which are separated by two colons.

If you’re interested in learning more about the immediate window and some awesome things you can do with it, here is a detailed tutorial about it.

By Adding Macro to QAT (with One Click)

In case you have to unhide worksheets quite often, another good way could be to have the macro code to unhide sheets in the Personal macro workbook and save the icon in the Quick Access Toolbar.

This is just a one time process and once you have it done, you can then unhide sheets in any workbook by simply clicking on a button in the QAT.

This is by far the most efficient way to unhide sheets in Excel (most useful when you get a lot of workbooks with hidden sheets and you have to unhide these).

The trick here is to save the code to unhide sheets in the Personal Macro Workbook.

A Personal Macro Workbook is something that is always open when you open any Excel file (you can’t see it though). When you save a macro code to the Personal Macro workbook, this code is now always available to you. And when you add this to the QAT and you run the macro code with a single click.

Below is the code that you need to add to the Personal Macro Workbook:

Below are the steps to add this code to the Personal Macro Workbook:

  1. Click on the record macro button (it’s at the bottom left of the Excel workbook application)
  2. In the Record Macro dialog box, change the Store macro in setting to – Personal Macro Workbook.
  3. Click OK. This will start recording the macro
  4. Click on the Stop macro recording icon (at the bottom left of the workbook). This will stop the macro recording
  5. Right-click on any sheet tab and then click on ‘View Code’
  6. In the VB Editor, double-click on the Module object in the Personal.XLSB workbook
  7. Remove any existing code and copy and paste the above code.
  8. Click the Save icon in the toolbar
  9. Close the Vb Editor

The above steps allow you to make the Personal Macro Workbook visible in the VB Editor and place the code to unhide sheets in it.

Now all you need to do is add this code to the Quick Access Toolbar so that you can use it anytime from any workbook.

Below are the steps to add this code to the Quick Access Toolbar:

  1. Click on the Customize Quick Access Toolbar icon.
  2. Click on More Commands.
  3. In the Excel Options dialog box, click on the ‘Choose Commands from’ drop-down
  4. Click on Macros. This will show you a list of all the macros in the workbook (including the ones in PERSONAL.XLSB)
  5. Select the macro code to unhide sheets
  6. Click on the Add button
  7. Click OK.

The above steps would add this macro code to unhide sheets in the Quick Access Toolbar.

Now, whenever you get a workbook that has some sheets hidden, you just need to click on the code icon in the QAT and it will instantly unhide all sheets in one go.

Unhide Sheets With Specific Text in the Name

With VBA, you can also unhide sheets based on the name.

For example, suppose you have a workbook that contains sheets with years in the name and you want to unhide all the ones where the year is 2020.

You can use the below code to unhide all the sheets with the text 2020 in it:

The above uses the For Next loop to go through each worksheet in the workbook. The IF Then condition then checks the name of the worksheet and if it contains the specified text (which is 2020 in this code), it will change the visible property to make it visible.

And if the name doesn’t contain the specified text, it will leave it as is.

You can also modify this code to hide sheets based on the text in the name.

For example, if you want to quickly hide all the worksheets where the name contains the text ‘2020’ in it, you can use the below code:

Note: You can save this code in a regular module inside VB Editor or you can save this in the Personal Macro Workbook. In case you save it in a regular module and need to use it again later, you need to save the workbook as a macro-enabled workbook (.XLSM format).

Unhide Selected Sheets (Based on User Selection)

You can also use VBA to give the user the flexibility to choose whether to unhide a sheet or not.

This can be done by showing a message box that asks the user to select whether to unhide a sheet or not. If selected, it unhides that sheet, else it moves to the next one.

Below is the code that will do this:

The above code goes through each sheet in the workbook and checks whether it’s already visible or not. If it’s hidden, then it shows the message box with the name of the worksheet.

As a user, you can now decide whether you want to keep this sheet hidden or unhide it.

This can work well if you have some worksheets that are hidden and you want to take a call for every sheet individually.

Note: You can save this code in a regular module inside VB Editor or you can save this in the Personal Macro Workbook. In case you save it in a regular module and need to use it again later, you need to save the workbook as a macro-enabled workbook (.XLSM format).

Here is a tutorial where I show how to save the code in the regular module in Excel (search for the ‘Where to put this code’ section in this article)

Unhide All or Selected Sheets Using Custom View

This is a less known method in case you want to quickly unhide all the worksheets (or some selected worksheets).

‘Custom View’ is functionality in Excel that allows you to create and save views that you can quickly resort to with a click of a button.

For example, suppose you have an Excel workbook with 10 worksheets. You can create a view where all these 10 sheets are visible. In the future, if you have some sheets hidden and you want o go back to the view where all the sheets were visible, you can do that by selecting the already saved custom view.

Don’t worry, you don’t lose any changes you made after creating the custom view. All custom view does is takes you back to the Excel view when you created it. So if some worksheets were visible when you created the view and are now hidden, selecting that custom view would unhide these sheets.

The intended use of Custom View is to allow users to create different views. For example, if you’re an analyst, you can create different views for different departments in your organization. So you can have a specific set of worksheets (or cells/rows/columns) visible for one department and another set for another department. Once you have these views, instead of changing this manually, you simply activate the view for a department and it will show you worksheets (or rows/columns) relevant for them only.

Below are the steps to create a custom view in Excel:

  1. Unhide all the worksheets to begin with
  2. Click the View tab
  3. Click on Custom Views
  4. In the Custom Views dialog box, click on Add. This will open the Add view dialog box
  5. Enter any name for this view where all the sheets (or selected sheets) are visible
  6. Click OK.

Once the view is created, you can anytime ask Excel to activate this view (which would make all those sheets visible that were visible when you created the view).

Below are the steps to show/activate a custom view:

  1. Click the View tab
  2. Click on Custom Views
  3. In the Custom Views dialog box, select the view that you want to show
  4. Click on Show button

This would instantly unhide sheets and show those that were visible when you created that custom view.

Sometimes, despite having some hidden sheets in your workbook, you would not be able to unhide it manually.

This could be because these sheets are not just hidden – these are ‘very hidden’.

When you have hidden sheets in a workbook and you right-click on any tab name, you would see the option to ‘Unhide’ sheets. But if you have sheets are ‘very hidden’ or if there are no hidden sheets, then you would not be able to use this option (it will be greyed out).

You can still unhide these ‘very hidden’ sheets by using the VBA code that we have covered above.

Just copy-paste the below code in the immediate window and hit enter and it would instantly unhide all the sheets (hidden as well as very hidden).

I also have a full tutorial on how to hide sheets and make these very hidden (in case you’re interested in learning)

You may also like the following Excel tutorials:

Источник

Понравилась статья? Поделить с друзьями:
  • Unhide all column in excel
  • Up to speed with excel
  • Up keep one word or two
  • Up and down word answers
  • Up and down line in word