How to Unlock Excel Sheets and Workbooks
In this article
To unlock an Excel sheet or workbook, you must navigate to the Review tab and select Unprotect Sheet or Unprotect Workbook, then enter the password if one was set. This process removes restrictions that prevent users from editing cells, changing formulas, or modifying the structure of the workbook, allowing full access to the data and layout.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- The password used to protect the file (if a password was applied).
- The file saved in a compatible format (such as .xlsx or .xlsm).
Step-by-Step
Depending on whether you need to unlock individual sheets or the entire workbook structure, the steps vary slightly. Note that menu labels may differ slightly depending on your version of Excel, your operating system, or your regional language settings.
Unlocking a Specific Worksheet
- Open the Excel file containing the locked sheet.
- Click on the specific tab at the bottom of the screen for the worksheet you wish to unlock.
- Go to the top ribbon menu and click on the Review tab.
- In the Protect group, look for the button labeled Unprotect Sheet. If the sheet is not protected, this button will instead say "Protect Sheet".
- Click Unprotect Sheet.
- If the sheet was protected with a password, a dialog box will appear. Type the password into the text field and click OK. If no password was set, the sheet will unlock immediately without a prompt.
- Verify that the cells are now editable by clicking into a previously locked cell and typing a value.
Unlocking the Entire Workbook Structure
Workbook protection is different from sheet protection. While sheet protection stops you from editing cells, workbook protection stops you from adding, deleting, renaming, or moving sheets.
- Open the Excel workbook.
- Navigate to the Review tab on the top ribbon.
- In the Protect group, locate the Protect Workbook button. If the workbook is currently locked, this button will typically appear highlighted or shaded.
- Click Protect Workbook.
- If a password was required, enter it in the prompt and click OK.
- You can now right-click the sheet tabs at the bottom to rename, move, or insert new sheets.
Unlocking a File That Requires a Password to Open
If the file asks for a password the moment you try to open it, this is file-level encryption rather than sheet protection.
- Open the file and enter the password when prompted to gain access to the data.
- Click on the File tab in the top left corner.
- Select Info from the left-hand sidebar.
- Click the Protect Workbook button.
- Select Encrypt with Password from the dropdown menu.
- A dialog box will appear showing the current password (represented by dots). To remove the password entirely, clear the text from the password field so it is empty.
- Click OK.
- Save the file to apply the changes. The next time you open the file, it will no longer ask for a password.
Common Mistakes
One of the most frequent errors is confusing sheet protection with workbook protection. Users often try to unlock a sheet to move it to another file, only to find that the Unprotect Sheet button does nothing for the workbook structure. Remember that sheet protection controls content, while workbook protection controls organization.
Another common mistake is attempting to unlock a file that is marked as "Read-Only". A Read-Only attribute is a file system setting, not an Excel password. If you see a "Read-Only" warning at the top of the window, the Unprotect buttons in the Review tab will not help. You must instead save a copy of the file (File > Save As) to a different location to create a writable version.
Users also frequently forget to save the file after removing a password. If you remove the password from the Encrypt with Password menu but close the program without saving, the file remains encrypted, and you will have to repeat the process.
Tips
To avoid losing access to your own data, keep a secure record of your passwords in a dedicated password manager. Excel passwords are case-sensitive, meaning "Password123" is different from "password123".
If you are creating a template for others and want them to edit only specific areas, you do not need to leave the whole sheet unlocked. Instead, select the cells you want to remain editable, right-click, choose Format Cells, go to the Protection tab, and uncheck Locked. Then, protect the sheet. This allows users to enter data in specific boxes while keeping your formulas and headers safe from accidental deletion.
When working with large files, check if the file is shared or co-authored. In some versions of Excel, certain protection features behave differently when multiple people are editing the document simultaneously via OneDrive or SharePoint. Ensure you have the necessary permissions from the file owner before attempting to change protection settings.
Troubleshooting
If the Unprotect Sheet button is greyed out or unresponsive, first check if the file is in "Protected View". This happens often with files downloaded from the internet or received via email. Look for a yellow bar at the top of the spreadsheet and click Enable Editing before attempting to unlock the sheet.
If you have entered the correct password but receive an error, check your keyboard layout and ensure the Caps Lock key is turned off. Because passwords are case-sensitive, a single shifted character will cause the unlock attempt to fail.
If the file is corrupted and will not open or unlock, try opening it in "Safe Mode". Hold the Ctrl key while launching the Excel application, then try to open the file. If that fails, you can try the "Open and Repair" feature: go to File > Open > Browse, select the file, and instead of clicking Open, click the small arrow next to the Open button and select Open and Repair.
If you have completely forgotten the password for a file you created, Microsoft does not provide a built-in "Forgot Password" recovery tool for Excel files. The only official way to regain access is to use a backup of the file from a date before the password was applied.
Frequently Asked Questions
Can I unlock an Excel sheet without the password?
Official Microsoft tools require the password to unlock a protected sheet or workbook. There is no built-in "reset" or "recovery" feature for lost passwords within the software.
What is the difference between Read-Only and Protected?
Read-Only prevents you from saving changes to the original file; you can usually save a new copy. Protected (via password) prevents you from seeing the data or editing specific cells within the file.
Does unlocking a sheet delete the data?
No, unlocking a sheet does not delete or change any of the data, formulas, or formatting. It simply removes the restrictions on who can edit those elements.
Why is my Unprotect Sheet button missing?
The button is only visible in the Review tab. If you cannot see it, ensure you are not in "Cell Edit mode" (where the cursor is blinking inside a cell), as this disables most ribbon commands. Press Enter or Esc to exit the cell first.
Can I protect only some cells and leave others unlocked?
Yes. Select the cells you want to stay editable, go to Format Cells > Protection, and uncheck "Locked". Then, protect the sheet via the Review tab. Only the cells you unchecked will be editable.