Troubleshoot an Excel Workbook That Suddenly Requires a Password
Question details
The user needs to open an Excel workbook that unexpectedly asks for a password.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A previously accessible workbook now displays a password prompt, although the user did not intentionally protect it.
- Observed behavior
- The workbook cannot be opened without a password. Changing its extension and reinstalling Excel did not remove the prompt.
Check the exact wording of the password prompt and where the workbook is stored. You may need access to the original sender, a shared storage account, or the file's version history.
Identify the password prompt and check with the file owner
Use the prompt and the workbook's origin to determine what protection is involved and who may know the password.
A password required before the workbook opens is different from worksheet protection or workbook structure protection. Worksheet protection restricts changes to a sheet, while workbook structure protection restricts changes such as adding or moving sheets.
Open the workbook in Excel and note whether the prompt asks for a password to open the file or appears after the workbook has opened.
Contact the person who sent or last edited the workbook and ask whether they added a password or can provide an unprotected copy.
If you can open a trusted earlier copy, use Developer > Visual Basic to inspect its macros for protection commands such as Worksheet.Protect. Do not enable macros from an untrusted file.

Restore an earlier unprotected workbook version
Use version history or an available backup when the password cannot be obtained.
Work with accessible Excel files in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Microsoft Office format compatibility, making it easy to move accessible files between suites. It cannot remove an unknown password from an encrypted workbook.

Frequently Asked Questions
Why does Excel ask for a password before opening my workbook?
The file may have been saved with an open password by another user or through a process that modified it. Ask the file owner or check for an earlier accessible version in OneDrive or SharePoint version history.
Is a password to open a workbook the same as sheet protection?
No. An open password is requested before you can access the workbook. Worksheet protection restricts changes within a sheet, and workbook structure protection restricts structural changes such as adding or moving sheets.
Can I remove the password by changing the file extension to ZIP?
No. Renaming the extension does not remove a password required to open the workbook. Obtain the password or restore an earlier accessible copy instead.
Can a macro cause a protection prompt?
A macro can apply worksheet protection, for example through Worksheet.Protect, but that is different from a password required to open an encrypted workbook. If you can access a trusted earlier copy, inspect its macros through Developer > Visual Basic.
Will WPS Office open the workbook without its password?
No. WPS Office cannot bypass an unknown password on an encrypted workbook. You can use it to work with an accessible version after obtaining the password or restoring an unprotected copy.




