Unlock an Excel File Locked for Editing
“Locked for editing” has five different causes, and only some of them are protection. Work out which one you have, then remove sheet or structure protection from your own file here.
- ✓ Sheet and structure locks
- ✓ Processed in your browser
- ✓ Original file untouched
Find the cause first
“Locked for editing” covers several unrelated situations. Working out which one you have saves time, because four of the five have nothing to do with protection.
| What you see | Cause | Fix |
|---|---|---|
| Cells will not accept typing | Sheet protection | This tool |
| Cannot add, rename or delete sheets | Workbook structure protection | This tool, structure option ticked |
| Yellow bar: Protected View | File downloaded from the internet | Click Enable Editing |
| “In use by another user” or “locked by” | File open in another window or on a share | Close the other copy |
| Opens read-only, will not save | Read-only file attribute, or read-only recommended | Clear the file attribute, or save a copy |
| Password prompt before anything appears | File encryption | Not removable without the password |
How to remove the protection
- Add the file. Drop the .xlsx or .xlsm above, or click to choose it. It is processed in your browser and never uploaded.
- Leave structure protection ticked if you also need to add, rename or delete sheets.
- Download the unlocked copy, which ends in “-unlocked”. Your original is untouched.
- Open it in Excel and edit as normal.
If it is still read-only afterwards
Protection and the read-only file attribute are separate. On Windows, right-click the file, choose Properties, and clear Read-only on the General tab. If the workbook offers “read-only recommended” every time it opens, saving a copy with this tool applied removes that recommendation, because it is stored as workbook protection.
Frequently asked questions
Why does Excel say the file is locked for editing?
The most common reason is that the file is already open in another window, on this computer or on a shared drive. Excel creates a lock file next to it while the workbook is open. Close the other copy, or open the file read-only and save a new version.
What is the difference between read-only and protected?
Read-only means Excel will not save changes to that file, usually because it is open elsewhere or marked as read-only on disk. Protected means the file opens normally but the cells or sheets are locked against editing. This tool fixes the second one.
Can I unlock a file that asks for a password when opening?
No. A password prompt before the workbook appears means the file is encrypted, and the contents cannot be read without that password. This tool detects that case and tells you instead of failing.
Does unlocking remove the read-only recommendation?
Yes, when the recommendation is stored as workbook protection. If the file is read-only because of its Windows file attributes or because someone else has it open, change that separately.