To delete an Excel file in a browser, open the OneDrive or SharePoint folder where it is stored, select the workbook, and choose Delete. Excel for the web edits files, but deleting the workbook is usually done from its cloud storage file list. Before you begin, make sure you are signed in to the account that owns the file and have checked that you have the right workbook; deleting a shared file can affect other people.
What You’ll Need
- A web browser and an internet connection.
- Access to the Microsoft account, OneDrive, or SharePoint site where the workbook is saved.
- Permission to delete the file. In a work or school SharePoint library, your organization may restrict deletion.
- The workbook’s name or folder location, especially if several files have similar names.
The steps below apply to Microsoft 365 in a browser. The layout can vary slightly between personal OneDrive, work or school OneDrive, and SharePoint, but the basic process is to delete the file from its storage location. You do not need to install the Excel desktop app.
Step-by-Step
-
Check where the workbook is stored. If the file is open in Excel for the web, look at its name and any location information shown near the top of the page. A workbook might be in your personal OneDrive, a work or school OneDrive, or a SharePoint document library. If you are not sure, return to the browser tab where you opened it or use the file’s location link, if shown, to identify the storage area. This matters because deleting a file from a shared team library can affect colleagues, while deleting a personal copy affects your own storage.
-
Make sure any recent edits are saved. Excel for the web normally saves changes to OneDrive or SharePoint automatically. Before deleting, wait for the save indicator to show that changes are saved, if one is displayed. If you or a collaborator still need the latest contents, download a copy or save a separate copy in a different folder first. Closing the workbook tab after saving can reduce the chance of accidentally continuing to edit a file while you are trying to remove it. Deletion is different from clearing cells or deleting a worksheet: it removes the workbook file from its folder.
-
Open the correct cloud storage location. For a personal Microsoft account, go to OneDrive in your browser and sign in. For a work or school account, open OneDrive from Microsoft 365 or visit the relevant SharePoint site and its document library. If you started from the Excel home page, find the workbook in the file list or recent items and use its available options to open its location. If you cannot tell which account is active, check the profile icon before proceeding; browser sessions can be signed in to more than one Microsoft account.
-
Find the workbook in its folder or library. Browse the folders, or use the storage page’s search box to look for the filename. Check the file type and folder path, not just the name. Excel workbooks commonly end in .xlsx, .xls, or .xlsm, although a file list may hide the extension. If two files have similar names, compare their folder locations and modified dates. Open a candidate only if you need to verify it, then return to the file list before deleting. Do not rely on a thumbnail or a recent-files entry alone if you have not confirmed which copy it represents.
-
Select the file, rather than opening it. In OneDrive, point to or click the workbook row and select its circle or checkbox. Depending on the page layout, clicking the row itself may open the workbook, so look for the selection control or the three-dot menu beside the filename. In a SharePoint document library, select the checkbox beside the workbook. Selecting the file should reveal a toolbar or an options menu. If the workbook opens instead, go back to the folder and select the row control or menu.
-
Choose Delete and confirm. In OneDrive, select Delete in the toolbar or choose Delete from the file’s three-dot menu. In a SharePoint library, select the file and choose Delete from the command bar or its menu. Read the confirmation message before accepting it. Check that it names the intended file, then confirm the deletion. If the command is missing or disabled, you may not have permission, or the file may be protected by your organization’s policies. Do not try to work around those restrictions by deleting another person’s copy.
-
Verify the result and know how to recover it. Return to the folder or refresh the file list and check that the workbook is no longer there. A normal deletion generally moves the item to the OneDrive or SharePoint recycle bin rather than erasing it immediately. If you deleted the wrong file, open the matching recycle bin, select the workbook, and choose Restore. Restoring usually returns it to its original location, provided it has not been permanently deleted and is still within the service’s retention period. If the file is important, check that it has been restored before asking anyone to reopen it.
Common Mistakes
Deleting the wrong copy. A workbook may appear in Recent, in your own OneDrive, and in a shared SharePoint library. Those entries can refer to different locations or copies. Confirm the folder path and modified date before deleting. If you only want to remove a shortcut from your own view, use the option to remove the shortcut, where available, instead of deleting the shared file itself.
Confusing a workbook with its contents. Deleting a sheet, clearing cells, or removing a row changes what is inside a workbook; deleting the file removes the workbook from the folder. If your goal is only to remove information from the spreadsheet, open it and edit the relevant cells instead. Conversely, deleting a worksheet does not delete the Excel file.
Assuming a shared workbook is private to you. A file in a team SharePoint library or a shared OneDrive folder may be used by other people. Deleting it can make it unavailable to them too. Check with the owner or team before removing a shared document, and consider downloading or copying a permitted backup if you need to preserve your own record.
Using the browser’s download list or clearing a shortcut. Removing a downloaded copy from your browser’s downloads list does not delete the cloud workbook. Likewise, removing a shortcut from a folder may only remove that link, not the original file. Make sure you are acting on the actual file in OneDrive or the SharePoint library.
Tips
- Use the full file path as a safety check. If a name such as Budget.xlsx appears in multiple folders, verify the folder and date before choosing Delete. For workbooks with similar names, inspect the file details or open the candidate to confirm its contents.
- Ask before removing team files. For a shared project workbook, tell collaborators or check with the document owner first. A quick message can prevent someone from losing access during active work.
- Use a copy when you are uncertain. If you may need the contents later, download the workbook or create a separate copy in an appropriate folder before deleting the original. Follow your organization’s rules for confidential or regulated data; a personal download may not be allowed.
- Understand that recycle bins are not permanent archives. Recovery time limits and retention rules depend on whether you use personal OneDrive, a work or school account, or SharePoint, and organizations can set policies. Restore an accidentally deleted workbook promptly rather than assuming it will remain recoverable indefinitely.
- Be cautious with permanent deletion. Emptying the recycle bin or deleting the workbook from it can remove the usual recovery route. Only do this if you are certain the correct file is selected and you do not need to restore it. A recycle-bin restore may also be unavailable if an administrator’s retention policy or the service’s time limit has expired.
Troubleshooting
You cannot find the workbook. Check that you are signed in to the right Microsoft account, then search OneDrive or the relevant SharePoint site. Look in shared folders and document libraries as well as My files. If you opened the workbook through a link, ask the sender or site owner where the original is stored. The workbook may also have been moved or renamed, so search for a distinctive part of its name.
Delete is missing, greyed out, or gives an error. You may have view-only access, the file may be checked out or subject to a retention rule, or your organization may prevent deletion. Confirm that you selected the file itself and that you are in the correct library. If you still cannot delete it, contact the file owner, SharePoint site owner, or Microsoft 365 administrator. Avoid making a new copy and deleting that instead; it will not remove the original.
The workbook still appears after deletion. Refresh the page and check the folder again. A recent-files list or browser tab may continue to show the workbook’s name even after the file has been removed from its folder. Try opening its location from the file list to see whether the original remains. If the file is still present, confirm the deletion action completed and that you were working in the correct account and location.
You deleted the wrong workbook. Open OneDrive’s recycle bin or the recycle bin for the relevant SharePoint site, find the file, and choose Restore. If you do not see it, check whether you are in the correct account or site and whether the retention period has passed. For a work account, ask the site owner or administrator whether another recovery option is available. Do not empty the recycle bin while you are trying to recover a file.
Someone else still sees the file, or access changed unexpectedly. Confirm whether the workbook was a shared original, a shortcut, or a separate copy. If a shared file was deleted, restore it from the appropriate recycle bin as soon as possible, then notify collaborators. If you removed only a shortcut, the original may still be available to its owner. For a team library, the site owner can help identify which item was affected.
Frequently Asked Questions
Can I delete an Excel file from Excel for the web itself?
Excel for the web is primarily for opening and editing workbooks. To remove the workbook file, use the OneDrive file list or the SharePoint document library where it is stored. The exact options depend on the account and location.
Does deleting a workbook erase it permanently?
Usually, no. A normal Delete action moves the file to a recycle bin first. It may be permanently removed after a retention period or if someone deletes it from the recycle bin. Policies and recovery periods vary by account and organization.
Will deleting a shared Excel file remove it for everyone?
If you delete the original from a shared OneDrive folder or SharePoint library, other people may lose access too. Removing a shortcut from your own files is different and generally does not delete the original. Check the location and ask the owner if you are unsure.
Can I delete an Excel file in a browser on a Mac?
Yes. These steps use OneDrive or SharePoint in a browser, so they are generally the same on a Mac and Windows computer. The browser’s appearance may differ slightly, but you still select the workbook and choose Delete in its storage location.
What if the workbook is open while I delete it?
Save any changes first, then close the workbook tab if practical and delete it from OneDrive or SharePoint. If a collaborator has it open, deletion may affect their access or editing session. Tell them before removing a shared file.
Can I delete a workbook that someone else owns?
Only if your permissions allow it, and you should first confirm that deletion is intended. If Delete is unavailable, ask the owner or site administrator to handle it. Do not assume that being able to view or edit a workbook means you are authorized to remove it.
Related
- How to Copy a Table in Excel Without Losing Formatting
- How to Copy a Line in Excel: Rows, Cells, and Shortcuts
- Count Months Between Dates in Excel: Full and Partial Months
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel CSV Import Settings: Delimiters and Data TypesIn Excel for Microsoft 365 on Windows, use Data > From Text/CSV to import a CSV and choose…
- Excel Conditional Formatting Across Sheets ExplainedYes, Excel can use values from another sheet to control conditional formatting, but a rule usually cannot refer…
- How to Create a Reusable Meeting Template in OutlookTo create a reusable meeting template, open classic Outlook for Windows, start a new meeting, fill in the…
- Excel Invoice Copy: How to Duplicate and Reuse InvoicesTo make an Excel invoice copy, open the invoice and use File > Save As to save a…
- Excel Analysis Techniques: Methods, Examples, and TipsExcel analysis techniques include cleaning and organizing data, calculating summaries with formulas, finding patterns with PivotTables, and communicating…
- Outlook Excel Import: Move Spreadsheet Data SafelyTo import Excel data into Outlook, arrange the information in a worksheet with a header row, save the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.