Fix Excel and SharePoint Cell Password Protection Not Working
Question details
Users are experiencing issues where cell password protection in Excel workbooks hosted on SharePoint does not function as expected, either allowing unauthorized edits or blocking authorized users.

- Product
- Microsoft Excel, SharePoint
- Device & OS
- not provided
- Scenario
- Collaborating on protected Excel workbooks via SharePoint or OneDrive.
- Observed behavior
- Protected cells remain editable, or editable-range passwords fail to enforce restrictions correctly depending on whether the file is opened in Excel for the Web or the desktop app.
Ensure you have the workbook's original unprotect password and verify whether you are opening the file in Excel for the Web or the Excel Desktop application, as they handle protection rules differently.
Review Worksheet and Editable Range Configurations
Check how the cells are locked and ensure the range passwords do not conflict with the overall worksheet password.
Often, cell protection fails because the cells were not properly locked before the worksheet protection was applied, or there is a conflict between the worksheet password and the 'Allow Edit Ranges' password.
Open the workbook in the Excel desktop application. Go to the 'Review' tab and click 'Unprotect Sheet' to temporarily remove overall protection.
Select the cells you want to protect, right-click, choose 'Format Cells', go to the 'Protection' tab, and ensure the 'Locked' checkbox is ticked.
Still on the 'Review' tab, click 'Allow Edit Ranges'. Review the specific ranges and their passwords to ensure they are configured correctly.
Click 'Protect Sheet' on the 'Review' tab to re-apply the main password. Test the range password separately from the worksheet password to confirm functionality.

Check SharePoint and OneDrive User Permissions
Ensure that SharePoint folder or file permissions align with the intended access level for the workbook.
Open the File in Excel Desktop App
Excel for the Web has limitations with certain password protections and editable ranges, requiring the desktop app for full functionality.
Use WPS Office for Reliable Spreadsheet Protection
If Microsoft Excel and SharePoint permission issues persist, consider WPS Office as a lightweight, free alternative. It offers full compatibility with Microsoft Excel formats (.xlsx) and provides robust, easy-to-use cell and worksheet protection features without the complex conflicts often seen in web-based collaboration.
- 1. Download WPS Office: Install WPS Office for free from the official website.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open your existing .xlsx file.
- 3. Apply Protection: Navigate to the 'Review' tab and click 'Protect Sheet' to easily secure your data with a password.

Frequently Asked Questions
Why can users edit cells when I have a worksheet password applied?
If cells are not marked as 'Locked' in the Format Cells menu before applying the worksheet password, users will still be able to edit them. Ensure the specific cells you want to restrict are locked before protecting the entire sheet.
Does Excel for the Web support 'Allow Edit Ranges'?
Excel for the Web has limited support for advanced protection features like 'Allow Edit Ranges'. Users often need to click 'Open in Desktop App' for these specific password protections to function correctly.
Can a SharePoint 'view-only' user edit password-protected ranges?
No. SharePoint file-level permissions override Excel's internal sheet protections. A user with view-only access in SharePoint cannot edit the workbook, even if they know the correct password for an editable range.




