How to Prevent Excel Worksheets from Being Deleted in SharePoint
Question details
The user needs to prevent collaborators from deleting individual worksheets within a shared Excel workbook stored on SharePoint.

- Product
- Microsoft Excel, SharePoint
- Device & OS
- not provided
- Scenario
- Collaborating on an Excel file hosted in SharePoint where users need editing access but should not be allowed to alter the workbook's structure by deleting sheets.
- Observed behavior
- Users currently have the ability to delete entire worksheets, compromising the structural integrity of the shared collaborative workbook.
Ensure you have the Excel desktop application installed for setting up workbook protection, or verify that you have site owner privileges in SharePoint if you intend to modify site-level permission settings.
Use the Protect Workbook Feature in Excel
Locking the workbook structure in the Excel desktop application is the most direct way to prevent users from adding, moving, or deleting worksheets.
By applying workbook protection, you secure the structural elements of the file. Collaborators can still edit cell contents according to sheet-level permissions, but they cannot remove entire worksheets.
Open your collaborative Excel workbook using the Microsoft Excel desktop application.
Click on the 'Review' tab located in the top ribbon menu.
Click on 'Protect Workbook'. A dialog box will appear asking for an optional password.
Enter a password if desired, click 'OK', and confirm the password. Save the file and upload the protected workbook back to your SharePoint document library.

Create a Custom SharePoint Permission Level
As a site owner, you can restrict users to editing files only via Excel for the Web, which prevents them from bypassing web limitations using the desktop app.
Try WPS Office for Secure Spreadsheet Management
If you are looking for a highly compatible and cost-effective alternative to Microsoft Office, WPS Office offers powerful spreadsheet tools, including robust workbook protection features, at no cost.
- 1. Open Spreadsheet: Launch WPS Office and open your spreadsheet document.
- 2. Access Protection Tools: Go to the 'Review' tab on the top ribbon.
- 3. Lock Workbook: Click 'Protect Workbook', enter a secure password, and confirm to lock the file structure.

Frequently Asked Questions
Can users delete a worksheet in Excel for the Web if the workbook structure is protected?
No. When the workbook structure is protected using the desktop application, the restriction carries over to Excel for the Web. Users will find the options to delete, insert, or rename worksheets grayed out in the browser.
What happens if I forget the workbook protection password?
If you forget the password used to protect the workbook structure, Microsoft Excel cannot recover it. It is highly recommended to keep a secure, accessible record of any passwords used for document protection.
Can I prevent worksheet deletion while still restricting edits to specific cells?
Yes. You can use both 'Protect Sheet' and 'Protect Workbook' simultaneously. 'Protect Workbook' locks the structure (preventing deletion of the sheet itself), while 'Protect Sheet' locks individual cells or ranges from being edited.




