To delete an Excel file on Windows, close it, find it in File Explorer, select it, and press Delete; it will usually go to the Recycle Bin, where you can restore it if needed. Before you begin, check that you have the right file and that you no longer need its contents. Deleting a file is different from removing a worksheet inside a workbook, so the steps below explain both.
What You’ll Need
- The Excel file you intend to remove, or enough information to identify it, such as its name or folder.
- Access to the computer, cloud account, or shared location where the file is saved.
- If you may need the workbook again, a backup or a safe copy saved elsewhere before you delete it.
You do not need to open Excel to delete a saved workbook. If the file is stored in OneDrive, SharePoint, or another synced location, you may also need access to that account to manage its deleted items or check whether other people use the file.
Step-by-Step
- Confirm which kind of deletion you mean. If you want to remove the entire workbook, follow the file-deletion steps below. If you only want to remove one tab from a workbook while keeping the rest, skip to the worksheet instructions in step 7. Deleting a workbook removes the file, including all its sheets, charts, and saved data. Deleting a worksheet removes just that tab and its contents from the open workbook.
- Check the file before removing it. If the workbook is open in Excel, look at its name in the title bar and confirm it is the file you mean to delete. Check for unsaved changes: a save indicator or an asterisk beside the name can mean edits have not been saved. Save anything you need, or close the workbook and choose Save when prompted. If you do not need recent edits, choose Don’t Save only after confirming that you are willing to lose them.
- Close the workbook in Excel. Close the workbook, not just its window or a worksheet tab. In Excel for Microsoft 365 on Windows, use File > Close, or select the close button for the workbook window. If other Excel workbooks are open, closing the one you want to remove does not require quitting Excel. Closing it first helps avoid a message that the file is in use and ensures you can see the saved file in its folder.
- Find the saved file in File Explorer. Open File Explorer from the taskbar or press Windows key+E. Browse to the folder where the workbook is saved, such as Documents, Downloads, or a project folder. If you are unsure of its location, use the search box in File Explorer and search for part or all of the file name. Excel workbooks commonly end in .xlsx, .xls, or .xlsm, but do not rely on the extension alone: check the name and folder before acting.
- Verify the target and delete it. Select the workbook, then check its full name and location in File Explorer. If several files have similar names, use Details view or open the folder path to distinguish them. Press Delete, or right-click the selected file and choose Delete. Confirm the prompt if Windows asks. On most local drives, this moves the file to the Recycle Bin rather than erasing it immediately. You can also drag the file to the Recycle Bin, but verify the target first.
- Decide whether to keep a recovery option. If you might have selected the wrong file, leave it in the Recycle Bin for now. To restore it, open the Recycle Bin, select the file, right-click, and choose Restore; Windows returns it to its original folder if that location is available. To remove it permanently, select the file in the Recycle Bin and choose Delete, or empty the Recycle Bin. Permanent deletion can make recovery difficult or impossible, so do this only when you are certain you do not need the workbook.
- If you meant to delete a sheet, use Excel instead. Open the workbook and find the sheet tab at the bottom. Right-click the tab and choose Delete, then confirm if Excel asks. You can also select the sheet and use Home > Delete > Delete Sheet. This removes the selected worksheet and its contents from the workbook; save the workbook to keep that change. If you deleted the wrong sheet and have not made other changes, use Ctrl+Z immediately. Excel may not be able to undo the deletion after you close the workbook or perform other actions.
Mac and Excel for the web: On a Mac, close the workbook, find it in Finder, Control-click it, and choose Move to Trash. Open Trash to restore or permanently remove the file. In Excel for the web, removing a workbook from the Recent list does not delete the saved file. If it is stored in OneDrive or SharePoint, locate it in the corresponding file list, select it, and use Delete; the item generally goes to that service’s recycle bin. The exact options can depend on your account and permissions.
Common Mistakes
- Removing a shortcut instead of the workbook. A shortcut or pinned item only points to the saved file. Deleting it may leave the actual workbook untouched. Check the folder path and file type before deleting.
- Assuming Remove from Recent deletes the file. Excel’s Recent list is a shortcut list. Removing a name from that list only changes what appears there; it does not delete the workbook from your computer or cloud storage.
- Deleting the wrong copy. A workbook may exist in Downloads, Documents, OneDrive, and a shared folder under similar names. Check the full path, date modified, and file name. If you are uncertain, open the file or compare its contents before deleting.
- Emptying the Recycle Bin too soon. That can remove a useful recovery route. Keep the item there until you are confident the workbook is not needed and any replacement copy is accessible.
- Deleting a worksheet when you meant to delete a file, or vice versa. A sheet deletion affects only one tab in a workbook, while file deletion removes the complete saved workbook. Confirm the intended scope before taking action.
Tips
- Make a backup before deleting important work. Save a copy to a clearly named folder or an approved backup location. For shared or business files, follow your organization’s retention and records policies rather than assuming you may permanently erase the file.
- Use search carefully. Search for a distinctive part of the workbook name, then inspect the results. Names such as Budget or Final can match multiple files; the folder path and modified date help identify the right one.
- Understand synced folders. A file in OneDrive or a similar service may be visible on several devices. Deleting it from a synced folder can also remove it from the cloud and other synced devices. Check the service’s recycle bin and sharing details if you need to recover it or understand who is affected.
- Check shared ownership first. If colleagues rely on a workbook, tell them before removing it or ask the owner. In SharePoint or OneDrive, permissions and retention settings can affect whether you can delete it and whether others can restore it.
- Do not use Shift+Delete unless you intend to bypass recovery. On Windows, Shift+Delete usually skips the Recycle Bin for a local file. Use the regular Delete key when you want the ordinary restore option.
Troubleshooting
Windows says the file is open or in use. Close the workbook in Excel and check whether another Excel window has it open. If the message remains, another app, preview pane, or user may be using the file. Close File Explorer preview panes and other programs that might have opened it, then try again. For a file on a shared drive, ask other users to close it. Avoid forcing deletion if you are not sure whether someone is editing it.
You cannot find the workbook. Search File Explorer for a distinctive name, and check common folders such as Documents and Downloads. In Excel, File > Open > Recent may show the workbook’s location when you open its file menu or browse to it, but the Recent list itself is not the file. If it was saved to OneDrive or SharePoint, check the correct account and shared location in a browser.
Delete is unavailable, or you get an access message. You may not have permission, the file may be read-only or managed by an organization, or it may be stored in a protected folder. Try deleting it from the folder where it is saved, and contact the file owner or administrator if access is denied. Do not change permissions or use an administrator account unless you are authorized to do so.
The file disappeared from one device but remains elsewhere. Syncing may be paused, delayed, or signed in to a different account. Check the cloud service’s website, confirm the folder is synced, and review its recycle bin. If you deleted the wrong cloud file, restore it promptly; available recovery periods and options vary by service and account.
You deleted it accidentally. For a local Windows file, open Recycle Bin, select the workbook, and choose Restore. On a Mac, open Trash and use Put Back. For OneDrive or SharePoint, check the service’s recycle bin. If the file is not there, look for a backup, version history, or a copy shared with someone else; recovery depends on where it was stored and the account’s settings.
Frequently Asked Questions
Does deleting an Excel file delete every worksheet in it?
Yes. Deleting the workbook file removes the saved file as a whole, including its sheets. If you want to keep the workbook but remove one tab, delete that worksheet inside Excel instead.
How do I delete an Excel file from the Recent list?
In Excel, open the Recent list, right-click the workbook entry, and choose Remove from list if that option appears. This hides the shortcut from Recent; it does not delete the saved file. Use File Explorer or the cloud storage location to delete the actual workbook.
Can I recover an Excel file after deleting it?
Often, if it is still in the Windows Recycle Bin, Mac Trash, or the cloud service’s recycle bin. Restore it from there. If you permanently deleted it or emptied the bin, check backups or available cloud recovery features; recovery is not guaranteed.
Will deleting a workbook from OneDrive remove it from other people’s devices?
It can. A shared or synced file may disappear for collaborators or from their synced folders, depending on where it is stored and their setup. Check sharing and ownership before deleting a shared workbook.
Can I delete an Excel file while it is open?
Close it first. Windows may block deletion while Excel is using the file, and deleting a cloud file while it is open can cause confusion about saving or syncing. Save any changes you need, close the workbook, and then delete the saved file.
Related
- How to Copy Down in Excel with the Fill Handle or Shortcut
- How to Copy an Entire Column in Excel Without Errors
- How to Copy Cells in Excel by Dragging
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Goal Seek vs Solver: Which Tool Should You Use?Use Goal Seek when you know the result you want from one formula and need Excel to find…
- Conditional Formatting: Apply Rules to Entire RowsYes. In Microsoft Excel for Microsoft 365 on Windows, conditional formatting can highlight an entire row when a…
- Google Sheets Timestamp: Insert, Format, and AutomateTo insert a fixed timestamp in Google Sheets, select a cell and press Ctrl+; to enter the current…
- Find Max Value in Excel With Criteria Using MAXIFSTo find the largest value that meets conditions in Excel, use MAXIFS. With sales in D2:D7, salespeople in…
- Excel Notched Box Plot: What It Shows and How to Make OneExcel for Microsoft 365 can make a standard Box & Whisker chart, but it does not have a…
- How to Add Double Spacing in WordTo double-space text in Microsoft Word, select the text—or press Ctrl+A on Windows or Command+A on Mac to…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.