Home PC Data Recovery Deleted File Recovery How to restore a deleted worksheet in excel​

How to restore a deleted worksheet in excel​

How to restore a deleted worksheet in excel​

Excel is one of the most powerful and widely used spreadsheet applications in the world. Whether you're an accountant juggling financial reports, a student tracking data for a project, or a business professional managing inventory, Excel has become indispensab...

Written by PandaOffice

Excel is one of the most powerful and widely used spreadsheet applications in the world. Whether you're an accountant juggling financial reports, a student tracking data for a project, or a business professional managing inventory, Excel has become indispensable. With its vast capabilities come a few risks, one of which is accidentally deleting important data such as an entire worksheet.

Losing a worksheet, especially if it contains critical data, formulas, charts, or summaries, can be a stressful experience. The good news is that restoring a deleted worksheet in Excel is possible in many cases. 

A worksheet is a tabbed sheet within a workbook. When you delete one, Excel removes it from the file entirely.

Unlike deleting a file in Windows, where it goes to the Recycle Bin, deleting a worksheet within Excel doesn't offer a secondary “trash bin” within the application. There is no built-in undo feature once the file is saved and closed. However, several recovery paths are available depending on when and how the worksheet was deleted.

How to restore a deleted worksheet in excel​

Method 1: Use Undo (Ctrl + Z)

When It Works

If you’ve just deleted the worksheet and haven’t closed the Excel file yet, the quickest and easiest way to recover it is by using the Undo function.

Steps

Immediately after deletion, press Ctrl + Z.

Alternatively, click the Undo icon in the Quick Access Toolbar.

Your deleted worksheet should reappear as it was.

Important Note

Once you save and close the workbook, the Undo history is lost. This method works only during the current session.

Method 2: Recover from a Previously Saved Version

Excel automatically saves copies of your workbook at regular intervals if AutoRecover is enabled. You can restore a previously saved version to recover the deleted worksheet.

Steps

Click File > Info.

Under Manage Workbook, select Recover Unsaved Workbooks.

Browse the list and open the file version from before the worksheet was deleted.

If the version contains the lost worksheet, save it under a new name.

Tips

Check the AutoRecover interval in File > Options > Save. Ensure it's set to save every few minutes.

Use this method if Excel crashes or if you accidentally closed the workbook without saving.

Method 3: Retrieve from File History (Windows Feature)

If you use File History or another backup service like OneDrive or Google Drive, you may be able to recover a previously saved version of your workbook.

Steps (Windows File History)

Right-click the Excel file in File Explorer.

Select Properties.

Navigate to the Previous Versions tab.

Choose a version from the list (look for one before the worksheet was deleted).

Click Restore or Open to view it.

Copy and paste the lost worksheet into your current workbook.

Steps (OneDrive)

Log in to OneDrive in a browser.

Navigate to the file.

Click the three dots (…) next to it and choose Version History.

Restore a version from before the deletion.

Method 4: Open the Temporary File

Excel often creates temporary files during editing. These temp files may help recover a deleted worksheet if found in time.

Steps

Navigate to the temporary file location:

C:\Users\\AppData\Local\Microsoft\Office\UnsavedFiles

Look for a file with a name similar to your workbook and an .asd or .tmp extension.

Open the file with Excel.

If the lost worksheet is there, copy it to your main workbook and save.

Important Tip

These files are often cleared automatically, so act quickly.

Method 5: Use Backup Copies

If you or your organization create backup copies of important files, check these backups. Backups can be stored on cloud drives, external hard drives, or networked drives.

Steps

Locate the backup file.

Open the file and check for the missing worksheet.

If present, right-click the worksheet tab and choose Move or Copy.

Copy it to your current workbook.

Best Practice

Consider automating Excel file backups or using version-controlled cloud storage.

Method 6: Use VBA Macros for Recovery (Advanced)

In some rare cases, especially with unexpected deletions due to complex macros or add-ins, a deleted worksheet may still exist in memory until the file is saved or closed. While not guaranteed, you can try using VBA to list hidden or orphaned sheets.

Steps

Press Alt + F11 to open the VBA editor.

In the Immediate Window, type:

vb

CopyEdit

For Each s In ThisWorkbook.Sheets: Debug.Print s.Name: Next s

Press Enter.

This lists all current sheets — including hidden ones.

If the sheet is hidden, you can unhide it:

vba

CopyEdit

Sheets("YourSheetName").Visible = True

Caution

Always back up your workbook before using VBA.

Method 7: Check for Hidden Worksheets

Sometimes a worksheet may seem deleted when it’s just hidden.

Steps

Right-click on any visible worksheet tab.

Click Unhide.

If a worksheet appears in the list, select it and click OK.

Tips

Some worksheets are hidden via VBA as very hidden, and won’t show in the standard unhide menu.

Use the VBA Editor to make very hidden sheets visible:

vba

CopyEdit

Sheets("YourSheetName").Visible = xlSheetVisible

Method 8: Excel AutoBackup (If Enabled)

Excel has a seldom-used feature called AutoBackup that creates a backup version of your file every time you save.

How to Check

Navigate to the folder where your file is stored.

Look for a file with the extension .xlk.

Open it in Excel and check for your lost worksheet.

How to Enable for Future

Click File > Save As.

Choose More options.

Click Tools > General Options.

Check the box that says Always create backup.

Preventing Future Loss

Restoring a worksheet is often a reactive approach. To avoid future panic, here are key proactive steps you can take.

Enable AutoRecover and AutoSave

Go to File > Options > Save.

Set AutoRecover to save every 1–5 minutes.

If using Office 365 or Excel Online, AutoSave is typically enabled by default.

Save Multiple Versions

Before making significant changes:

Save a new version of the workbook using Save As.

Include the date or version number in the filename.

Use Cloud Storage

Storing files in OneDrive, Google Drive, or Dropbox allows you to access version history and restore previous versions easily.

Lock Important Worksheets

Prevent accidental deletion by protecting sheets:

Go to Review > Protect Sheet.

Add a password to prevent editing or deletion.

Use Templates for Repetitive Work

If you frequently use a specific format or data structure:

Create a template file.

Work from a copy of the template to avoid data loss in the original.

Troubleshooting Common Scenarios

Scenario 1: File Was Saved After Worksheet Deletion

If you've saved the workbook after deleting the worksheet, the Undo function is no longer available. Your best option is to:

Use File History or OneDrive Version History.

Check backups or use cloud recovery tools.

Scenario 2: Excel Crashed and Worksheet Disappeared

Excel might recover files on startup:

Open Excel.

Look in the Document Recovery pane on the left.

If your file appears, open and save it.

If not, navigate to Excel’s Unsaved Files location.

Scenario 3: Worksheet Was Deleted via Macro

If the deletion happened through a macro:

Open VBA Editor.

Review recent macros.

Check if the macro includes code that deleted a sheet.

If it was unintentional, try reverting to an earlier saved version.

Professional Tools and Support

If none of the above methods work and the data is irreplaceable, consider using third-party tools or services.

Excel Recovery Tools

Stellar Excel Repair

Kernel for Excel Repair

DataNumen Excel Repair

These tools are designed to recover corrupt or lost data, though they work best when the file is damaged — not when content is deleted and saved afterward.

IT or Cloud Administrator Help

If you're working in an enterprise environment:

Contact your IT department.

They may have server-side backup or cloud versioning enabled.

Final Tips for Data Safety in Excel

Avoid Saving Immediately after accidental deletions — saving will overwrite potential recovery paths.

Use Excel Tables and structured references, which can make data management safer.

Create Daily Snapshots using scheduled scripts or macros.

Turn on Track Changes for collaborative work to track who deleted what.

Educate Team Members on safe Excel practices.

Frequently Asked Questions