How to Delete an Excel Workbook Safely

How-to basics · Updated November 20, 2026

To delete an Excel workbook in Microsoft 365 for Windows, save any changes, close the workbook, find its file in File Explorer, and choose Delete. The file usually goes to the Recycle Bin, where you can restore it if needed. This removes the workbook file, not just a worksheet inside it. Before deleting, check that you have the right file and that you will not need its data later.

What You’ll Need

  • The workbook file you want to remove, such as an .xlsx, .xlsm, or .xls file.
  • Access to the folder, OneDrive, or SharePoint location where the workbook is stored.
  • If the workbook contains important information, a separate backup or confirmation that you no longer need it.

You do not need to open Excel to delete a workbook. If it is currently open, save any needed changes and close it first. The steps below focus on Excel for Microsoft 365 on Windows, with Mac and web-based storage notes where the process differs.

Step-by-Step

  1. Make sure you mean the whole workbook. A workbook is the file that can contain multiple worksheets, charts, tables, and other content. Deleting that file removes all of those items together. If you only want to remove one worksheet, open the workbook, right-click that sheet’s tab, choose Delete, and confirm. Do not delete the file if you only meant to remove a tab.
  2. Save any changes you want to keep. In Excel, press Ctrl+S on Windows. If Excel asks whether to save changes, choose Save if you need them. If you do not need the latest edits, choose Don’t Save only after checking that you are comfortable discarding them. For a cloud workbook with AutoSave on, wait for the save or sync indicator to finish before continuing.
  3. Close the workbook. Choose File > Close, or close the workbook window. If other workbooks are open, make sure you are closing the correct one. Closing Excel itself is optional, but closing the workbook can release a file lock and makes it less likely that you will delete a different file by mistake.
  4. Find the workbook’s saved location. Open File Explorer with Windows+E. Browse to the folder where you saved the workbook, such as Documents, Downloads, or a project folder. If you are unsure of the location, search File Explorer for the workbook’s name. You can also use Excel’s File > Save As > Browse dialog to check the folder shown for the open workbook, then cancel the dialog without saving. Searching by name may show several similarly named copies, so check the folder and file details before proceeding.
  5. Check the exact file before deleting it. Compare the full name and location with the workbook you intend to remove. Look at the file extension if it is visible: a workbook might end in .xlsx, .xlsm, or another Excel format. Be especially careful with files named “final,” “final2,” or “backup,” and with similarly named PDFs or CSV files. If necessary, right-click the file and choose Properties to check details such as its location and size.
  6. Delete the file. Select the correct workbook in File Explorer, right-click it, and choose Delete. You can also select it and press the Delete key. Windows normally moves a local file to the Recycle Bin rather than erasing it immediately. If a confirmation appears, read the message and verify the file name before confirming.
  7. Check the result. Confirm that the workbook is no longer in its original folder. If you used File Explorer search, refresh the results or check the folder directly; search results can take a moment to update. If you deleted it by mistake, open the Recycle Bin, find the file, right-click it, and choose Restore. Windows returns it to its original location when that location is available.
  8. Handle OneDrive or SharePoint files carefully. A workbook stored in a synced OneDrive or SharePoint folder may appear in File Explorer, but deleting it can also delete it from the cloud and other synced devices. If you want to remove a cloud file, you can instead open OneDrive or the relevant SharePoint document library in a browser, select the workbook, and choose Delete. Check that the selected name is right before confirming. Deleted cloud files may be recoverable from the service’s recycle bin, subject to its retention rules and your organization’s settings.
  9. On a Mac, use Finder. Save and close the workbook, open Finder, locate the file, and confirm its name and folder. Control-click it and choose Move to Trash, or select it and press Command+Delete. The file remains in Trash until you empty it. For a workbook in OneDrive or SharePoint, use the cloud location’s file list if you need to delete the shared cloud copy rather than only manage a local file.

Common Mistakes

  • Deleting a worksheet instead of the workbook, or vice versa. The sheet-tab Delete command removes a tab from an open workbook. File Explorer’s Delete command removes the workbook file. Check which outcome you want before confirming.
  • Choosing the wrong copy. A folder may contain a current workbook, an older version, a backup, and an exported copy. Compare the full filename and folder, and open the workbook first if you need to verify its contents.
  • Assuming cloud deletion is local only. Removing a file from a synced OneDrive folder can propagate the deletion to the cloud and other devices. If other people use the workbook, consider the impact on their access before deleting it.
  • Emptying the Recycle Bin too soon. A file in the Recycle Bin is easier to recover than one permanently removed from it. Do not empty the bin until you are confident the workbook is no longer needed.
  • Deleting a shortcut rather than the actual workbook. A shortcut or link may point to a file stored elsewhere. Check the item’s type and location; deleting a shortcut does not necessarily delete the workbook it opens.

Tips

  • Make a backup before removing valuable work. Copy the workbook to an approved backup location, or use your organization’s version history if available. Store the backup somewhere distinct from the folder you are cleaning up so it is not removed along with the original.
  • Use a clear filename and folder structure. Names that include a project, date, or status make it easier to tell current files from old exports. For example, “Inventory-2026-10-15.xlsx” is more informative than “Book1.xlsx.”
  • Check whether the file is shared. For a shared workbook, tell collaborators before deleting it or make sure another authorized person has a copy. Removing a shared file can interrupt access even if collaborators have previously opened it.
  • Separate deleting from secure erasure. Moving a file to the Recycle Bin or Trash does not guarantee that its contents have been securely erased. If your goal is to meet a privacy or company-retention requirement, follow your organization’s approved data-handling process rather than assuming ordinary deletion is enough.

Troubleshooting

Windows says the file is open or in use: Return to Excel and close the workbook, then check whether another Excel window or application has it open. If the workbook is shared or synced, wait for syncing to finish. Close other programs that might be using the file and try again. Avoid forcing a deletion if you are unsure whether changes are still being saved.

You cannot find the workbook: Search File Explorer for part of the filename, then check likely folders such as Documents, Downloads, and OneDrive. Make sure you are looking in the account or drive where the workbook was saved. If you opened it from a recent-files list, that list may include files from locations you do not normally browse. Check the location shown in Excel’s Save As dialog, then cancel rather than saving if you only need to inspect it.

Delete is unavailable or access is denied: You may not have permission to remove the file, or it may be controlled by your organization. For a work or school account, contact the folder owner or IT administrator. Do not move the file to another location as a workaround if that could disrupt shared work or violate a retention policy.

The workbook reappears after deletion: A sync service may be restoring or resynchronizing a copy, or another device may still have a pending version. Check OneDrive’s sync status and the cloud file list, and make sure you deleted the intended cloud copy. If it is a shared or managed library, ask its owner or administrator to check the service’s settings.

You deleted it accidentally: On Windows, open the Recycle Bin, select the workbook, and choose Restore. On a Mac, open Trash, control-click the file, and choose Put Back if available. For OneDrive or SharePoint, check the appropriate online recycle bin. If the file is not there, look for a backup or version history; recovery options depend on where it was stored, account permissions, and retention settings.

Frequently Asked Questions

Does deleting an Excel workbook delete all its worksheets?
Yes. A workbook file contains its worksheets and related content, so deleting the file removes them together. To keep the workbook but remove one sheet, delete that sheet’s tab inside Excel instead.

Can I delete a workbook while it is open in Excel?
Close it first. Windows may block deletion while the file is being used, and closing it gives Excel a chance to finish saving. Save changes you need before closing the workbook.

Can I recover a deleted Excel file?
Often, if it is still in the Windows Recycle Bin, Mac Trash, or the relevant cloud recycle bin. Use the restore option there. If the bin has been emptied or the service’s retention period has passed, recovery is not guaranteed; check backups or ask your administrator about available recovery options.

What is the difference between deleting and permanently deleting a workbook?
Ordinary deletion usually moves a local file to the Recycle Bin or Trash, allowing you to restore it. Emptying that location or choosing a permanent-delete option removes that recovery route. Cloud services have their own retention and recovery rules.

How do I delete an Excel workbook online?
Open the OneDrive folder or SharePoint document library that contains it, select the workbook, and choose Delete. Confirm the filename before accepting. If you only want to remove a downloaded local copy, use your device’s file manager and first confirm that you are not deleting the synced cloud file too.

Will deleting a shared workbook remove access for other people?
It can. Removing a shared file from its cloud location may prevent collaborators from opening it. Check with the owner or collaborators first, and make sure any needed copy or replacement is available before deleting the shared item.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.