When Excel refuses the password for a protected worksheet, it is almost always because the password being typed is not the one the sheet was protected with, the sheet is protected at workbook level as well, or the file came from someone else with a different password. Below are the checks and recovery methods that work, in order from safest to last-resort, for files you own or have permission to edit.

What You'll Need

  • A copy of the Excel file (always work on a copy, never the original)
  • Microsoft Excel on desktop (Windows or Mac) for the VBA method
  • A Google account if you use the Google Sheets method
  • Permission to edit the file, if it belongs to someone else at work

Step-by-Step

  1. Confirm which protection you are fighting. Open the file and try to edit a cell. If Excel says the sheet is protected, you need the worksheet password. If you cannot even open the file without a password, that is workbook-level encryption and the methods below will not help; only the original password opens it.
  2. Rule out typing errors. Check that Caps Lock is off, try the password in a plain text document first so you can see it, and make sure no space is being added before or after. Passwords are case-sensitive.
  3. Try the obvious passwords. Common internal passwords people forget they used include the company name, a simple word like "password" or the filename, or the same password used on other sheets in the workbook. Unprotect via Review > Unprotect Sheet and test each candidate once.
  4. Check for a shared or revision password. If the workbook was ever shared or protected for structure (Review > Protect Workbook), unprotecting the sheet alone may still leave you unable to insert or delete sheets. Try the same password under Review > Protect Workbook if it appears highlighted.
  5. Try the VBA recovery method (older .xls files, and your own files only). Make a copy of the file, save it as an Excel 97-2003 (.xls) workbook, then press Alt+F11 to open the VBA editor, go to Insert > Module, paste a well-known sheet password recovery macro (search for "unprotect sheet VBA macro" and use one from a reputable source), and run it with F5. This brute-forces the sheet password in seconds on .xls files and lets you unprotect the sheet afterward. It does not work reliably on modern .xlsx files, and you should only use it on files you own or are authorised to modify.
  6. Try the Google Sheets route. Upload the .xlsx file to Google Drive, open it with Google Sheets, then download it again via File > Download > Microsoft Excel (.xlsx). Worksheet protection is often not preserved through this round trip, letting you edit the downloaded copy freely. Formatting and some features may not survive perfectly, so compare the result against the original.
  7. Ask the file's owner or your IT admin. In a workplace, the fastest legitimate fix is often simply requesting the password. Some organisations keep a register of passwords for shared documents.
  8. Rebuild the sheet if all else fails. If the data is readable but locked, you can often select all cells, copy them, and paste into a new worksheet or workbook. Values come across even when editing the original is blocked; you lose the original formatting, formulas and data validation, but keep the data.

Note: exact menu labels can differ slightly between Excel versions and between Windows and Mac, but Review, Unprotect Sheet and the VBA editor have kept the same names across current versions.

Common Mistakes

  • Working on the original file instead of a copy, then saving changes that corrupt formatting
  • Confusing a sheet password with the workbook open password; only the first can be recovered
  • Downloading random "Excel password remover" tools from unknown sites; many are adware or worse, and no official Microsoft tool removes passwords
  • Typing the password with Caps Lock on or with an auto-corrected space on mobile keyboards
  • Expecting the VBA method to work on a .xlsx file without first saving it as .xls

Tips

  • Once you regain access, remove or reset the protection immediately: Review > Unprotect Sheet, then re-protect with a password you store in a password manager.
  • Excel's "Protect Sheet" has an option to allow users to select and copy cells; if that was ticked, the copy-to-new-sheet method works even without the password.
  • For files you protect yourself in future, write the password into the file's document properties or a shared vault so this does not happen again.
  • Mac users: the VBA editor shortcut is Fn+Alt+F11 on some keyboards.

Troubleshooting

  • The password definitely worked before: the file may have been re-saved by someone else with a new password. Check the file's modified date and ask colleagues who had access.
  • Excel crashes or freezes when unprotected: the file may be damaged. Open Excel, go to File > Open, browse to the file, click the arrow next to Open and choose Open and Repair.
  • The sheet is protected but Review > Unprotect Sheet is greyed out: the workbook itself is protected. Remove workbook protection first via Review > Protect Workbook, then try again.
  • VBA editor says macros are disabled: save the file as .xlsm or enable macros for that session only (a yellow bar appears at the top of the workbook; click Enable Content), then re-run the macro.
  • Google Sheets preserved the protection: this happens with some files. Fall back to the copy-paste method or ask the owner.

Frequently Asked Questions

Can Microsoft recover a worksheet password for me?

No. Microsoft does not store or recover Excel passwords and explicitly advises that lost passwords cannot be retrieved.

Does the VBA method work on modern .xlsx files?

Not reliably. It exploits the weak sheet-protection scheme in the older .xls format, which is why you must save a copy as .xls first. Modern .xlsx sheet protection uses a stronger hash that the old macro cannot crack.

Is it legal to remove protection from an Excel sheet?

It is fine for your own files or with the owner's permission. Removing protection from a file you are not authorised to edit, such as a confidential work document, can breach your employment terms or local law.

The file asks for a password just to open it. Can I get in?

Only with the correct password. Workbook open protection is real encryption, and there is no practical shortcut; Microsoft's advice is to obtain the password from the person who set it.

Will copying cells to a new sheet keep my formulas?

If the sheet allows selecting cells, a normal copy-paste carries formulas across. If only values come through, the protection blocked formula access and you will get values only.