logo
search
File Cannot Open

How to Recover a Forgotten Password for an Office 2021 Excel Workbook

Partner EditorPartner Editor Sep 28, 2026 869 views

Question details

The user has forgotten the password to an important Office 2021 Excel workbook and needs to find a way to recover access to the data.

What to Do If You Forget Your Office 2021 Excel Workbook Password
Product
Microsoft Excel 2021
Device & OS
not provided
Scenario
Trying to open a password-protected Excel workbook without knowing the encryption password.
Observed behavior
The file cannot be opened because the password is forgotten, and Microsoft security policies prevent bypassing the password.
Before you start

Before attempting data recovery, ensure that Caps Lock was not accidentally turned on when setting the password, as Excel passwords are case-sensitive, and try any common password variations you might have used.

Solution 1Recommended

Restore from a OneDrive or SharePoint Version History

Since Microsoft cannot recover encrypted passwords, restoring a previous, unencrypted version from your cloud storage is the most reliable recovery method.

Microsoft's security protections are designed to prevent unauthorized access. This means there is no supported feature or Microsoft support service that can recover a forgotten password for you. However, if your file was synced to OneDrive or SharePoint before the encryption was applied, you can restore an older version of the document.

1
Log in to your cloud storage

Open your web browser and sign in to your OneDrive or SharePoint online account where the Excel file is saved.

2
Locate the Excel workbook

Navigate to the folder containing your locked Excel workbook.

3
Open version history

Right-click the Excel file and select 'Version history' from the context menu.

4
Restore an older version

Look for a version of the file saved before you added the password protection. Click the three dots next to that version and select 'Restore' to recover your data.

Restore from a OneDrive or SharePoint Version History
Security Warning: Do not use third-party password-cracking tools. These methods often contain malware, bypass Microsoft's security protections, and violate Microsoft community policies.
Free Microsoft Office alternative

Prevent Data Loss with WPS Office's Cloud Features

While forgotten encrypted passwords cannot be bypassed in Microsoft Office, you can prevent permanent data loss by switching to WPS Office. It provides robust cloud backups, built-in file recovery, and seamless compatibility with Microsoft Excel formats, all within a free and lightweight suite.

  1. 1. Download and Install: Download WPS Office Free from the official website and follow the easy installation instructions.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheets and open your existing .xlsx files with complete format compatibility.
  3. 3. Enable Cloud Backup: Sign in to activate WPS Cloud and turn on Auto-Backup, ensuring your version history is always securely saved.
Fully compatible with Microsoft Excel (.xlsx, .xls) and other Office formats.Built-in cloud storage for automatic backups, making version history recovery effortless.Free, lightweight, and features a user-friendly interface familiar to Microsoft Office users.Advanced, easy-to-manage document security to keep your files safe without losing access.
microsoft office alternative - wps office

Frequently Asked Questions

Can Microsoft support reset my Excel workbook password?

No. Microsoft support cannot reset or recover forgotten passwords for encrypted Office files. Strict privacy and security protocols prevent them from accessing or bypassing user-defined encryption.

Are third-party password cracking tools safe to use?

No, using third-party password cracking tools is strongly discouraged. These tools often contain malware, compromise your system's data security, and violate Microsoft's policies against bypassing security protections.

Does changing the file extension bypass the Excel password?

No. Changing the file extension (for example, from .xlsx to .zip) will not remove the workbook's encryption password. You must rely on backups or version history to recover your data.

How can I prevent losing access to password-protected files in the future?

To avoid losing access to encrypted files, always store your passwords securely using a trusted password manager, and regularly save copies of your important workbooks in a cloud storage service like OneDrive or WPS Cloud to utilize automatic version history.