To delete a worksheet (a page) in Excel, right-click the sheet tab and choose Delete, or use the Ribbon command Home → Delete → Delete Sheet. The deleted sheet is removed from the workbook immediately and can be recovered only by using Undo before saving or from a backup copy.
When should you save a copy before deleting?
Save a backup copy of the workbook before deleting if the sheet contains important data that cannot be reproduced.
Steps to delete a single sheet (Windows and Mac)
-
Locate the sheet tab at the bottom of the workbook.
-
Right-click (Control-click on some Mac mice) the sheet tab.
-
Select Delete from the context menu.
-
Confirm the deletion when Excel asks for confirmation.
-
Press Ctrl+Z (Windows) or Command+Z (Mac) immediately to undo the deletion before saving.
Steps to delete multiple sheets
-
Click the first sheet tab you want removed.
-
Hold Ctrl (Windows) or Command (Mac) and click each additional sheet tab to select nonadjacent sheets.
-
Hold Shift and click two tabs to select a contiguous range of sheets.
-
Right-click any selected tab and choose Delete.
-
Confirm deletion when prompted.
How to delete a hidden sheet
-
Unhide the sheet: Home → Format → Hide & Unhide → Unhide Sheet (Windows) or Format → Sheet → Unhide (Mac).
-
Select the sheet tab that became visible.
-
Right-click the tab and choose Delete.
-
Confirm the deletion.
How to delete a protected sheet
-
Unprotect the sheet: Review → Unprotect Sheet. Provide the password when prompted.
-
Right-click the sheet tab and choose Delete.
-
Confirm the deletion.
-
Reapply protection to other sheets as needed.
How to remove a printed page (page break or content)
-
Switch to Page Break Preview via View → Page Break Preview.
-
Drag the blue page break lines to reduce the content on a printed page or move content into other sheets.
-
Remove unwanted content or rows/columns on the sheet to eliminate that printed page.
-
Use File → Print and preview changes before saving.
VBA: delete specific sheets, or bulk delete by name pattern
Use macros when you must delete many sheets quickly.
Sub DeleteSheetsByNamePattern()
Dim ws As Worksheet
Dim pattern As String
pattern = "Temp" ' change this to the pattern to match
Application.DisplayAlerts = False
For Each ws In ThisWorkbook.Worksheets
If InStr(1, ws.Name, pattern, vbTextCompare) > 0 Then
ws.Delete
End If
Next ws
Application.DisplayAlerts = True
End Sub
-
Press Alt+F11 (Windows) or Option+F11 (Mac) to open the VBA editor.
-
Insert a new module and paste the code.
-
Change
patternto match the sheet names to remove. -
Run the macro.
-
Keep Application.DisplayAlerts = False only while you want silent deletion.
Where options differ between Windows and Mac
-
Keyboard shortcuts: Windows supports Alt key sequences such as Alt → H → D → S to delete a sheet. Mac lacks consistent Alt sequences; use Ribbon or right-click.
-
Right-click behavior: Some Mac trackpads require a two-finger click or Control-click to open the context menu.
-
VBA environment: Core VBA features are the same, while certain host shortcuts and dialog behavior vary between platforms.
Warnings and recovery
-
Deletion is permanent after saving the workbook.
-
Undo works only until the workbook is closed or until other actions exceed the undo stack.
-
Create a backup copy before deleting critical sheets.
-
Check for formulas on other sheets that reference the deleted sheet; broken references appear as
#REF!.
Quick troubleshooting
-
Problem: Delete is greyed out — Condition: Workbook is shared or protected. Resolve by disabling sharing or unprotecting workbook.
-
Problem: Cannot delete last visible sheet — Condition: Excel requires at least one worksheet. Add a new sheet before deleting the last one.
-
Problem: References broken after deletion — Condition: Other sheets contain formulas pointing to the deleted sheet. Update or remove those formulas before saving.
Final best practices
-
Make a backup copy before deleting important sheets.
-
Check cross-sheet formulas and named ranges for dependencies.
-
Use descriptive sheet names so targeted deletions via VBA are safer.
-
Use the Print Preview to confirm removal of a printed page before saving.