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. Templates from a district or school office often use more than one.

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 the owner for edit access, or save your own copy if you only need it for yourself.
- 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 made or are responsible for:
- Ask the person who built the file. School templates usually come from the front office, a department head or a district data team, and they usually keep the password with the original.
- 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 your own template names and passwords in one place, and hand it over when you pass a file to the next teacher who takes over the grade level or club.
Worked example: updating a field trip budget form
A fourth-grade teacher needs to change the student count on the field trip budget form the front office emailed to every grade-level team this month. Clicking the student count 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, Request and Costs. There's no workbook protection.
- Get the password. She asks the school bookkeeper for the Costs sheet password and unprotects only that sheet. Request stays locked.
- Make the change. The student count goes from 58 to 62, and the per-student bus cost, which divides the $620 bus quote by that count, recalculates from $10.69 to $10.00.
- 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 before every trip, the better fix is for the front office to unlock the student count cell 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 each grade-level team can change its own student count while the rates 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 that students or families must not see, such as other students' grades, 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 a school that uses both Windows PCs and Macs. 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.
Build and update school templates with inline AI
inline AI opens the Excel files on your PC and edits or creates them directly. Building a sign-up sheet or budget form where only the input cells stay editable, or updating a few cells in a template you received and saving it back, becomes one request such as "leave only the student count and chaperone columns editable and protect the rest."
Gradebooks and spreadsheets, finished by inline AI in the file itself.
Ask in one sentence for roll-ups, trackers and the cleanup you repeat every week. Your files never leave your computer.




