To resolve an Excel protected sheet error, you must go to the Review tab and select Unprotect Sheet; if a password was set, you will need to enter it to regain editing access. This error occurs when a workbook author has locked specific cells or the entire worksheet to prevent accidental changes to formulas, data validation, or structural layouts. By unprotecting the sheet, you remove these restrictions and restore full editing capabilities to all cells.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- The password for the sheet (if the protection was password-encrypted).
- Administrative permissions for the file if it is stored on a shared network drive or OneDrive.
Step-by-Step
- Identify the Protected Area: Open your Excel workbook and attempt to click on a cell or enter data. If you see a pop-up notification stating that the cell is on a protected sheet, take note of which tab is affected, as protection is applied on a per-sheet basis rather than to the entire workbook file.
- Navigate to the Review Tab: Look at the top ribbon menu. Click on the Review tab. Note that labels may differ slightly depending on your version of Excel or regional settings, but the Review tab is the standard location for protection settings.
- Select Unprotect Sheet: In the Protect group on the Review ribbon, click the Unprotect Sheet button. If the sheet is not protected, this button will instead say Protect Sheet.
- Enter the Password: If the author added a password, a dialog box will appear asking for it. Type the password exactly as it was created (passwords are case-sensitive) and click OK. If no password was set, the sheet will unlock immediately upon clicking the button.
- Verify Editing Access: Try typing in the previously locked cell. If the cursor appears and you can enter data without an error message, the protection has been successfully removed.
- Handle Workbook-Level Protection: If you cannot add, delete, or rename sheets, the entire workbook structure might be protected. Go to the Review tab and look for Protect Workbook. If it is highlighted, click it and enter the password to unlock the structural elements of the file.
- Save Your Changes: Once the sheet is unprotected, save the file (Ctrl+S or Cmd+S) to ensure that the unlocked state is preserved for the next time you open the document.
Common Mistakes
One of the most frequent mistakes users make is confusing Sheet Protection with Workbook Protection. Sheet protection prevents you from editing the content within a specific tab, while workbook protection prevents you from changing the arrangement of the tabs themselves. If you unprotect a sheet but still cannot move tabs, you must also unprotect the workbook.
Another common error is attempting to unlock cells by simply deleting the sheet and recreating it. If the workbook structure is protected, you will find that you cannot delete the sheet in the first place. Furthermore, if you copy and paste data from a protected sheet into a new one, you may inadvertently carry over certain data validation rules or conditional formatting that mimic the behavior of a protected sheet, leading to confusion.
Users often forget that cells are "Locked" by default in Excel. Protection only works when the sheet is actually protected. Many people go to the Format Cells menu, uncheck "Locked," and wonder why they can still edit everything. The "Locked" property does nothing until you go to the Review tab and click Protect Sheet. The reverse is also true: if you protect a sheet without first unlocking specific cells, every single cell on that sheet becomes uneditable.
Tips
If you are the creator of the spreadsheet and want to allow users to edit only specific areas (like an input form) while keeping formulas safe, follow this workflow: Select the cells you want the user to edit, right-click, select Format Cells, go to the Protection tab, and uncheck the Locked box. After doing this for all input cells, go to the Review tab and select Protect Sheet. Now, only the unlocked cells can be modified.
When setting a password, keep a record of it in a secure password manager. Excel passwords for sheet protection are not easily recoverable through official Microsoft channels. If you lose the password, you may have to manually copy the data to a new workbook, which can be tedious for complex files with many formulas.
For collaborative files on OneDrive or SharePoint, consider using the "Allow Edit Ranges" feature. This allows you to assign different passwords to different ranges of cells, meaning different team members can be responsible for different sections of the data without having full access to the entire sheet's protection settings.
Troubleshooting
If you click Unprotect Sheet and nothing happens, or if the button is greyed out, check if the file is marked as "Read-Only." Look at the top of the window next to the filename. If it says [Read-Only], you must first save a copy of the file to your local drive (File > Save As) before you can modify protection settings.
If you have the correct password but Excel continues to throw an error, try restarting the application. Occasionally, a glitch in the memory can cause the password validation to fail. If the file is stored on a network drive, ensure your connection is stable, as a momentary drop in connectivity can cause the software to lose the link to the file's metadata, resulting in a generic protection error.
In cases where the file is shared via a legacy "Shared Workbook" feature (not the modern Co-authoring), certain protection features are disabled. You may need to unshare the workbook via the Review tab, unprotect the sheet, and then re-share it.
If you are unable to find the Review tab, check if you are using the Excel Web App (browser version). While the Web App supports basic protection, some advanced settings are only available in the desktop application. Try clicking "Open in Desktop App" at the top of the screen to access the full suite of protection tools.
Frequently Asked Questions
Can I recover a forgotten password for a protected sheet?
Microsoft does not provide a built-in tool to recover lost passwords for protected sheets. The official recommendation is to maintain a backup of the file before applying a password or to use a password manager.
Does protecting a sheet encrypt the entire file?
No. Sheet protection only prevents changes to the cells within that specific tab. It does not encrypt the file or prevent people from opening and reading the data. To encrypt the entire file, you must use File > Info > Protect Workbook > Encrypt with Password.
Why can I still edit some cells even though the sheet is protected?
This happens because those specific cells were "Unlocked" in the Format Cells > Protection menu before the sheet was protected. This is a common design choice for templates and data entry forms.
Will protecting a sheet stop people from copying my formulas?
Not by default. To hide formulas from the formula bar, you must select the cells, go to Format Cells > Protection, and check the "Hidden" box before protecting the sheet. Once the sheet is protected, the formulas will not be visible in the bar.
Can I protect only a specific range of cells?
Yes. You must first unlock all cells in the worksheet, then select the specific range you want to protect, lock those cells via Format Cells, and finally apply the Protect Sheet command from the Review tab.