How to unlock Excel sheet protection: which type do you have?
Sheet protection prevents edits but can be removed without the sheet password. An open password encrypts the entire workbook with AES. Without it, Excel shows no data.
| Symptom | Protection type | Method |
|---|---|---|
| Cells grayed out, Review tab shows Unprotect Sheet | Sheet protection | Excel Password Recovery or XML edit |
| Excel asks for a password before showing any data | Open password (encryption) | Enter the password or run a dictionary attack |
| File opens but Protect Workbook is active on Review tab | Workbook structure protection | Excel Password Recovery or XML edit |
| File opens read-only with a banner asking for the password | Write-reservation password | Save As > Tools > General Options, clear the field |
Can you recover a forgotten password to open an Excel file?
An open password encrypts the file with AES. Recovery requires a dictionary, mask, or brute-force attack. Excel Password Recovery extracts the hash and runs the search on your GPU. Speed depends on the Office version and password length.
Office 2007 uses SHA-1 (hashcat mode 9400), Office 2010 adds more rounds (mode 9500), and Office 2013 and later use SHA-512 with 100 000 iterations (mode 9600).
A short password of six lowercase letters falls in hours. A random nine-character mix of letters and digits on Office 2013+ can take years, which is why we do not promise it. Microsoft's DocRecrypt tool can reset the password, but only if an administrator deployed an escrow key before the file was encrypted, so it is not an option for personal files.
Can a VBA macro still unlock an Excel worksheet?
The classic VBA script tried short passwords and worked reliably on files created in Excel 2010 and earlier. Files from Excel 2013 and later use a stronger hashing algorithm that the same script cannot defeat.
Another common workaround is to open a protected .xlsx in Google Sheets and export it as .xlsx. This removes protection, but you lose macros and some formatting, and the file leaves your machine. We skip this route for anything with macros.
Why do common Excel sheet unlock methods fail?
Most failed attempts confuse sheet password protection with file encryption. The ZIP/XML edit works only on sheet and workbook protection in .xlsx files; it cannot remove an AES-encrypted open password.
Is it safe to remove protection from workbooks inherited from a colleague?
Recovering access to your own files or a former colleague's workbooks with your employer's approval is a routine administrative task. Remove protection only from files you own or have explicit permission to edit.
Before you remove protection from a departed employee's workbook for company use, confirm ownership with your IT department.
Sources