How to Fix Microsoft 365 Word Cannot Open Older Password-Protected VBA Projects
Question details
Users are unable to open older password-protected VBA projects in Microsoft 365 Word, despite entering the correct password.

- Product
- Microsoft 365 Word
- Device & OS
- not provided
- Scenario
- Attempting to access legacy VBA macros within a password-protected .dot template file using a recent build of Microsoft 365.
- Observed behavior
- Word rejects the correct password for older VBA projects, even though the exact same file and password work perfectly in older versions like Office 2010 or Office 2016.
Always create a safe backup copy of your original .dot template file before attempting any workarounds to ensure you do not corrupt the legacy VBA code.
Update Microsoft 365 to the Latest Version
Because this issue was reported and investigated as a product bug by the Office team, installing the newest updates is the primary recommended fix.
Microsoft periodically releases patches to resolve backward compatibility issues in Office 365. Updating your application can restore the normal functioning of legacy VBA project passwords.
Open a blank document in Microsoft Word. Click on 'File' in the top-left corner, then navigate down and click on 'Account' in the left sidebar.
Look for the 'Product Information' section. Click the 'Update Options' button and select 'Update Now' from the drop-down menu.
Allow Microsoft 365 to download and install any pending updates. Once finished, restart Word and attempt to unlock your password-protected VBA project.

Omit the Last Character of the Password
A documented quirk of this specific bug allowed some users to successfully unlock their VBA projects by deliberately typing their password without the final character.
Remove the Password Using an Older Version of Office
Since the file functions properly in older versions of Word, you can use a computer running Office 2010 or 2016 to permanently remove or reset the problematic password.
Experience Flawless Document Compatibility with WPS Office
If Microsoft 365 subscription bugs and legacy file compatibility issues are slowing down your workflow, WPS Office provides a lightweight, highly compatible, and free alternative. It seamlessly handles Word documents and templates while providing a familiar interface.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the quick on-screen instructions to set up WPS Office on your computer.
- 3. Open Your Legacy Files: Launch WPS Writer and directly open your legacy document formats to enjoy fast, error-free editing.

Frequently Asked Questions
Why does my VBA password work in Office 2010 but not in Microsoft 365?
This is due to a recognized bug in specific builds of Microsoft 365 (such as Version 2202) where the authentication mechanism fails to properly validate passwords on older .dot VBA projects, particularly those using 8-character passwords.
Can I recover my VBA macros if Microsoft 365 refuses to unlock the project?
Yes. The safest way to recover your macros is to open the file on a PC running an older, unaffected version of Office (like Office 2016), unlock the project there, and copy the macro code into a newly created Microsoft 365 template.
Are new password-protected templates affected by this bug?
No, newly created password-protected VBA projects made natively within Microsoft 365 function perfectly. The bug strictly affects backward compatibility with older legacy .dot files.
How can I report a persistent Office bug to Microsoft?
You can report bugs directly from within Word by clicking 'File', navigating to 'Feedback' (or 'Help' > 'Feedback'), and selecting 'I Don't Like Something'. This sends your diagnostic data directly to the Office engineering team.




