Blog
How to Unprotect a Sheet in Excel (and When You Can't)
To unprotect a sheet in Excel, open the sheet, go to Review > Unprotect Sheet, and enter the password if Excel asks for one. That takes ten seconds when it works. When it doesn't, the cause is usually not the password at all: the file opened in Protected View, the workbook structure is locked separately, or you only have view access to a shared copy. Knowing which layer is blocking you saves the hour you would otherwise spend clicking the same greyed-out button and emailing whoever built the template.
This guide covers each layer, the exact steps to remove it, the fixes for the common failures, and how to lock the file again so the next person can only touch the cells they should.
The three kinds of Excel protection
Excel has three separate protection features, and each blocks something different. Microsoft's Protect a worksheet article is explicit that worksheet protection is not a security feature: it stops people from changing locked cells, nothing more.
| Protection | What it blocks | Where to remove it |
|---|---|---|
| Sheet protection | Editing locked cells, formatting, inserting or deleting rows and columns | Review > Unprotect Sheet |
| Workbook protection | Adding, deleting, moving, renaming or unhiding sheets | Review > Protect Workbook (click the highlighted button again) |
| File encryption | Opening the file at all | File > Info > Protect Workbook > Encrypt with Password |
The symptom tells you which one you're dealing with. If only some cells refuse edits, it's sheet protection. If right-clicking a sheet tab shows Insert and Delete greyed out, it's workbook protection. If Excel asks for a password before the file even opens, it's encryption. Many company templates use all three.

How to unprotect a sheet
From the Review tab
- Select the tab of the protected sheet.
- On the Review tab, in the Protect group, select Unprotect Sheet. When a sheet is protected, the Protect Sheet button is renamed Unprotect Sheet, which is also the quickest way to tell whether protection is on.
- If the sheet has a password, type it in the dialog and select OK. A sheet protected without a password unlocks immediately.
From File > Info
File > Info lists every protected sheet under Protect Workbook, each with its own Unprotect link. On a workbook with a dozen tabs, this screen shows at a glance which ones are locked, so you don't have to click through each sheet.

Removing workbook protection and file encryption
Workbook protection is on when the Protect Workbook button on the Review tab appears highlighted. Select it again and enter the password. To remove a file-open password, open the file, go to File > Info > Protect Workbook > Encrypt with Password, clear the password box, select OK, and save. This only works in the desktop app: according to Microsoft's Protect a workbook article, Excel for the web can't add, change or remove passwords.
When Unprotect Sheet doesn't work
The button is greyed out
- Protected View. Files from email attachments or downloads open read-only with a yellow bar. Select Enable Editing, and the Review tab commands come back.
- Marked as Final. A banner says the author marked the workbook as final. Select Edit Anyway.
- Read-only or view-only access. If the title bar says Read-Only, or a OneDrive or SharePoint link gave you view access, no protection setting will let you edit. Ask for edit access, or save your own copy if your company allows it.
- Cell edit mode. While the cursor is blinking inside a cell, many ribbon commands are disabled. Press Enter or Esc first.
The password is right but rejected
Sheet passwords are case-sensitive. Microsoft's Worksheet.Unprotect reference describes the password as a case-sensitive string. Check Caps Lock and the keyboard language, and if you paste the password from a note, make sure no trailing space came with it. Also note that Excel for Mac limits workbook passwords to 15 characters, so a longer password set on Windows can't be used to open that file on a Mac.

Unprotected, but something is still locked
If you removed sheet protection and still can't delete or move a sheet, workbook protection is still on. If you removed workbook protection and still can't type in a cell, the sheet itself is protected. Protection is set per sheet, so a workbook with ten protected tabs needs ten unprotects.
If you forgot the password
Microsoft can't recover a forgotten sheet or workbook password, and the same reference page states plainly that you can't unprotect without it. That leaves a short, practical list for files you or your company own:
- Ask the person or team that built the file. Controlled templates usually belong to finance or operations, and the password is often kept in their records.
- Open an earlier version. For files saved in OneDrive or SharePoint, File > Info > Version History lists past versions. If one was saved before protection was added, restore it or copy the content out.
- Look for an unprotected original. The first copy sent by email, or an older file in the shared folder, is often unprotected.
- Fix the process for next time. Keep a list of template names and passwords somewhere the team can reach, and include it in hand-offs when someone changes roles.
Worked example: updating a customer discount
Ridgeline Manufacturing's sales operations coordinator needs to change the discount for Brightway Retail on the price list that finance emailed out this month. Clicking the discount cell brings up the protected-sheet warning.
- Check how the file opened. It was opened straight from the email, so it's in Protected View. After Enable Editing, the warning still appears, but Unprotect Sheet is now available. The greyed-out problem is solved; what's left is sheet protection.
- See what's locked. File > Info shows two locked sheets, Prices and Discounts. There's no workbook protection.
- Get the password. The coordinator asks finance for the Discounts sheet password and unprotects only that sheet. Prices stays locked.
- Make the change. The discount is updated, and the net price column, which references it, recalculates.
- Lock it again the same way. Review > Protect Sheet with the same password, and the same allowed actions as before (sorting and AutoFilter).
If this happens every month, the better fix is for finance to unlock the discount column permanently, which is the next section.
👉 How to Lock Cells in Excel (and Keep Input Cells Open)
Re-protect with only the input cells open
When you protect a sheet, every cell is locked by default. To leave some cells editable, unlock them before protecting:
- Select the input cells. Hold Ctrl to select cells that aren't next to each other.
- Press Ctrl+1 to open Format Cells, go to the Protection tab, and clear Locked.
- Select Review > Protect Sheet, choose what users may do under Allow all users of this worksheet to, and set a password.
When different people need different ranges, use Review > Allow Edit Ranges before protecting. Each range gets a name and its own password, so the sales team can change discounts while prices stay locked. The command is only available while the sheet is unprotected.
Two allowed actions behave differently from what the labels suggest. Per Microsoft's lock or unlock specific areas article, allowing Sort still won't let anyone sort a range that contains locked cells, and allowing Use AutoFilter lets people change existing filters but not add or remove them. Apply the filter and unlock the sortable columns before you protect.
To keep formulas out of sight, tick Hidden on the same Protection tab before protecting. The cell shows its result, but the formula bar stays empty. Remember this is a convenience, not confidentiality: data customers must not see belongs in a separate file.
Windows, Mac and the web
Excel for Microsoft 365 on Windows has every command above, and Excel 2016 through 2024 use the same Review tab layout. Excel for Mac also has Protect Sheet and Protect Workbook on the Review tab; the 15-character password limit is the main thing to plan for in mixed offices. Excel for the web can protect and unprotect sheets but can't manage file passwords, so use Open in Desktop App when you need to remove one.
FAQ
Q. Do I need to remove both sheet and workbook protection?
Only the layer that blocks what you're doing. Editing cell values needs sheet protection off; adding, moving or renaming sheets needs workbook protection off.
Q. Why can't I sort on a protected sheet?
If the range contains any locked cell, sorting is blocked regardless of the Sort permission. Unprotect, sort, and protect again, or unlock the whole table range before protecting.
Q. Can a sheet be protected without a password?
Yes. The password is optional, and a sheet protected without one unlocks with a single click. It's common on templates where the goal is preventing accidental edits.
Q. Why does the file still open read-only after I unprotect it?
Read-only comes from somewhere else: Protected View, a Marked as Final flag, a view-only share link, or the "always open read-only" setting under File > Info > Protect Workbook. Each has its own switch.
How inline AI handles locked templates
inline AI opens your company's Excel files and edits or creates them directly, so building a price list where only the discount column is editable, or updating one cell in a file you received and sending it back, is a request rather than a chore. With ARP's sales and order modules holding prices and discounts, there's no locked price list to pass between departments in the first place.
Hand your documents and your company’s work to inline AI.
Keep a file open, say what you need, and AI edits it or drafts a new one. Add the company AI OS and AI runs the rest of the work, ERP included.
Book a demo



