Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Can't Hide or Unhide Sheets: Fixes and Solutions

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you cannot hide or unhide sheets in Excel, it is most likely because the workbook structure is protected or the sheets are set to "Very Hidden" via the Visual Basic editor. To fix this immediately, go to the Review tab and click "Protect Workbook" to toggle the protection off. If the button is already off but you still cannot unhide a specific sheet, you must use the Visual Basic editor to change the sheet's visibility property from "xlSheetVeryHidden" to "xlSheetVisible".

What You'll Need

  • A computer with Microsoft Excel installed.
  • The administrative password for the workbook (if the file was protected by another user).
  • The original file saved in a format that supports multiple sheets (such as .xlsx or .xlsm).

Step-by-Step

Depending on why your sheets are locked, you will need to try one of the following three methods. Start with the simplest method and move down the list if the problem persists. Note that menu labels may differ slightly depending on your version of Excel or your regional settings.

Method 1: Disabling Workbook Protection

The most common reason the "Hide" or "Unhide" options are greyed out in the right-click menu is that the workbook structure is protected. This feature prevents users from adding, deleting, renaming, or moving sheets.

  1. Open the Excel file where you are experiencing the issue.
  2. Look at the top ribbon and click on the Review tab.
  3. Locate the Protect group. Look for the button labeled Protect Workbook.
  4. If the button is highlighted or looks "pressed in," the workbook is protected. Click Protect Workbook to disable it.
  5. If a password was set when the workbook was protected, a dialog box will appear. Enter the correct password and click OK.
  6. Now, right-click on any sheet tab at the bottom of the screen. The Hide and Unhide options should now be clickable.

Method 2: Unhiding "Very Hidden" Sheets

Excel has three levels of visibility for sheets: Visible, Hidden, and Very Hidden. A "Very Hidden" sheet cannot be seen in the standard "Unhide" dialog box; it can only be made visible through the Visual Basic for Applications (VBA) editor.

  1. Open your Excel workbook.
  2. Press Alt + F11 on your keyboard. This is the shortcut to open the Visual Basic Editor.
  3. On the left-hand side, you will see the Project Explorer window. If you don't see it, go to the View menu and select Project Explorer.
  4. In the Project Explorer, find the folder for your current workbook and click on the name of the sheet you want to unhide.
  5. Look at the Properties window below the Project Explorer. If the Properties window is missing, press F4.
  6. Scroll down to the bottom of the Properties list to find the Visible property.
  7. Click the drop-down menu next to the Visible property. You will see three options: -1 - xlSheetVisible, 0 - xlSheetHidden, and 2 - xlSheetVeryHidden.
  8. Select -1 - xlSheetVisible.
  9. Close the Visual Basic Editor window and return to your Excel sheet. The tab will now be visible.

Method 3: Checking for Shared Workbook Restrictions

In older versions of Excel, the "Shared Workbook" feature (legacy) disabled several structural changes, including hiding and unhiding sheets. While this has been largely replaced by Co-authoring in Microsoft 365, some legacy files still have this setting enabled.

  1. Click on the Review tab.
  2. Look for the Share Workbook (Legacy) button. If you do not see it, it may be hidden from your ribbon, or you are using a version where it is fully deprecated.
  3. If the workbook is marked as "Shared" in the title bar (at the very top of the window), you must stop sharing to make structural changes.
  4. Go to the Review tab, click Share Workbook, and uncheck the box that says "Use the old shared workbook feature."
  5. Confirm the changes and save the file.
  6. Try to hide or unhide your sheets again using the right-click method.

Common Mistakes

One of the most frequent mistakes users make is confusing Protect Sheet with Protect Workbook. Protecting a sheet prevents users from editing the cells within that specific page, but it does not stop you from hiding or unhiding the sheet itself. If you find that you can't edit a cell, you are dealing with sheet protection. If you can't hide the tab, you are dealing with workbook protection.

Another common error is attempting to unhide sheets in a CSV file. Comma Separated Values (.csv) files are plain text files; they do not support multiple tabs, formulas, or formatting. If you save a multi-sheet workbook as a CSV, Excel will only save the active sheet and discard all others. You cannot "unhide" sheets in a CSV because they no longer exist in the file. Always ensure your file is saved as .xlsx or .xlsm.

Users also frequently forget that some Add-ins or third-party Excel plugins can lock the workbook interface to prevent accidental changes to critical data. If you are using a corporate template, the restrictions might be hard-coded into a macro that runs every time the file opens.

Tips

To keep your workbooks organized without confusing other users, consider using the "Very Hidden" method described in Method 2. This is an excellent way to hide lookup tables, calculation sheets, or sensitive data that you don't want an average user to find simply by right-clicking and selecting "Unhide." It provides a basic layer of obfuscation that keeps the interface clean.

If you frequently need to toggle the visibility of multiple sheets, you can write a simple VBA macro. Instead of manually changing properties for ten different sheets, a short script can loop through all sheets and set their visibility to "Visible" in one click. This is particularly useful for complex financial models with many supporting schedules.

Always keep a backup copy of your workbook before attempting to change settings in the VBA editor. While changing a visibility property is generally safe, accidentally deleting a line of code or changing a property of a system-critical sheet can lead to workbook instability.

Troubleshooting

If you have followed the steps above and the "Hide" or "Unhide" options are still greyed out, try these steps in order:

  1. Check for Read-Only Mode: Look at the top of the window next to the filename. If it says "Read-Only," you cannot make any structural changes. Save a copy of the file to your local drive (File > Save As) and try again on the new copy.
  2. Check for Open Dialog Boxes: Sometimes a hidden dialog box or an open "Find and Replace" window in another instance of Excel can lock the UI. Close all other Excel windows and restart the application.
  3. Check for Grouped Sheets: If you have multiple sheets selected (grouped), some options are disabled. Right-click any sheet tab and select "Ungroup Sheets" before trying to hide or unhide.
  4. Test in a New Workbook: Create a brand new Excel file and try to hide a sheet. If it works in a new file but not in your specific workbook, the issue is definitely a setting within that file (protection or VBA) and not a problem with your Excel installation.
  5. Check File Permissions: If the file is stored on a network drive or SharePoint, ensure you have "Edit" permissions. If you only have "View" permissions, the workbook structure will be locked regardless of the internal Excel settings.

Frequently Asked Questions

Why is the Unhide option greyed out even though I didn't protect the workbook?

This usually happens because there are no hidden sheets in the workbook. You cannot click "Unhide" if every single sheet is already visible. Additionally, if the sheets are "Very Hidden," they won't trigger the Unhide option to become active.

Can I hide all the sheets in a workbook?

No. Excel requires at least one visible worksheet at all times. You cannot hide every single tab; if you try to hide the last remaining visible sheet, Excel will display an error message stating that at least one sheet must remain visible.

Does hiding a sheet delete the data inside it?

No, hiding a sheet only removes the tab from view. All data, formulas, and formatting remain intact. Furthermore, other sheets can still reference data from a hidden sheet using standard formulas (e.g., =Sheet2!A1).

How do I find out which sheets are "Very Hidden"?

The only way to identify "Very Hidden" sheets is to open the Visual Basic Editor (Alt + F11) and check the Project Explorer. Any sheet listed there that does not appear as a tab in your main Excel window is either Hidden or Very Hidden.

Will a password protect my hidden sheets from everyone?

Workbook protection with a password prevents most users from unhiding sheets. However, it is not a high-security encryption method. Advanced users can often bypass workbook passwords using third-party tools or by editing the XML structure of the .xlsx file.