Smart Systems for Home

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

Excel Won't Delete Tab? How to Fix Locked Sheets

· 5 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 Excel won't let you delete a tab, it is usually because the workbook structure is protected or the sheet is the only visible tab in the file. To fix this, you must go to the Review tab and disable Workbook Protection, or create a new sheet if you are trying to delete the last remaining visible one. Note that menu labels may differ slightly depending on your version of Excel (Windows, Mac, or Web).

What You'll Need

  • An Excel file that is currently open.
  • The password for the workbook (if protection was enabled with a password).
  • Administrative permissions to edit the file (if it is stored on a shared network drive).

Step-by-Step

  1. Check for Workbook Protection: Look at the "Delete" option when you right-click a tab. If the option is greyed out, the workbook structure is likely locked. Go to the Review tab on the top ribbon. Look for the Protect Workbook button. If it is highlighted or active, click it to turn off the protection. If prompted, enter the password.
  2. Verify Visible Sheets: Excel requires at least one visible worksheet to remain in the workbook. If you only have one tab open, you cannot delete it. To "delete" the content of the last tab, you must first create a new blank sheet by clicking the (+) icon next to the tab names. Once a second sheet exists, you can right-click the original tab and select Delete.
  3. Check for Sheet-Level Protection: While sheet protection usually prevents editing cells rather than deleting the tab itself, some advanced settings can interfere. Go to the Review tab and check if Unprotect Sheet is displayed. Click it to ensure the sheet is fully unlocked.
  4. Exit "Group" Mode: Check the title bar at the very top of the Excel window. If it says [Group] next to the filename, you have multiple sheets selected. Right-click any tab and select Ungroup Sheets. Try deleting the specific tab again.
  5. Check for Hidden Sheets: If you are trying to delete a tab that you cannot see, or if the workbook behaves strangely, right-click any visible tab and select Unhide. If there are hidden sheets, they may be linked to the one you are trying to delete. Unhide them first, then attempt the deletion.

Common Mistakes

  • Confusing Sheet Protection with Workbook Protection: Protecting a sheet stops people from changing data in cells. Protecting the workbook stops people from adding, moving, or deleting tabs. If you can edit the cells but can't delete the tab, you need to look for Workbook Protection, not Sheet Protection.
  • Attempting to delete the only sheet: Many users assume they can delete every tab and leave a completely blank window. Excel does not allow this; there must always be one active worksheet.
  • Ignoring "Read-Only" status: If a file is opened as "Read-Only" (often seen in the title bar), you cannot make structural changes, including deleting tabs, until you save a copy of the file or gain write access.

Tips

  • Keyboard Shortcut: To quickly delete a selected sheet, you can use the keyboard sequence Alt + H, D, S (on Windows).
  • Bulk Deletion: To delete multiple tabs at once, hold the Ctrl key while clicking the tabs you want to remove, then right-click any of the selected tabs and choose Delete.
  • Save a Backup: Deleting a tab is permanent. Unlike deleting a cell, you cannot use the "Undo" (Ctrl+Z) command to bring back a deleted worksheet. Always save a backup copy before performing bulk deletions.

Troubleshooting

If the steps above did not work, try these solutions in order:

  1. Check File Properties: Close the file. Right-click the file icon in your folder and select Properties. Ensure the "Read-only" checkbox at the bottom is unchecked. Click OK and reopen the file.
  2. Check for Shared Workbook Restrictions: If the file is a "Legacy Shared Workbook," some structural changes are disabled. Go to the Review tab and look for Unshare Workbook or Share Workbook (Legacy) to disable the sharing mode.
  3. Restart Excel: Occasionally, a glitch in the interface can grey out menu options. Save your work, close all instances of Excel via the Task Manager (if necessary), and restart the application.
  4. Check for VBA/Macros: Some workbooks contain macros (VBA code) that automatically protect the workbook upon opening. If the "Protect Workbook" button turns itself back on immediately after you click it, the file likely has a script running. You may need to disable macros in File > Options > Trust Center > Trust Center Settings > Macro Settings.

Frequently Asked Questions

Why is the Delete option greyed out?

This happens most often because the Workbook Protection is turned on in the Review tab, or you are trying to delete the only visible sheet in the file.

Can I undo a deleted tab?

No. Deleting a worksheet is a permanent action that cannot be reversed using the Undo button. You must close the file without saving or restore a previous backup to recover the tab.

Does protecting a sheet prevent it from being deleted?

No, protecting an individual sheet (Protect Sheet) prevents editing of the content inside that sheet. To prevent the tab itself from being deleted, you must use Protect Workbook.

Why can't I delete a tab in a shared Excel file?

In shared or co-authored workbooks, certain structural changes are restricted to prevent conflicts between users. You may need to be the owner of the file or turn off shared editing to remove the tab.

What should I do if I forgot the workbook password?

Excel does not provide a built-in way to recover forgotten workbook passwords. You may need to copy the data from the sheets into a brand new workbook to bypass the protection.