File Cannot Open

How to Fix Microsoft 365 Word Cannot Open Older Password-Protected VBA Projects

Elise WilliamsElise Williams Oct 26, 2026 868 views

Question details

Users are unable to open older password-protected VBA projects in Microsoft 365 Word, despite entering the correct password.

Fix Microsoft 365 Word Cannot Open Older Password-Protected VBA Projects
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.
Before you start

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.

Solution 1Recommended

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.

1
Open Word Account Settings

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.

2
Check for Updates

Look for the 'Product Information' section. Click the 'Update Options' button and select 'Update Now' from the drop-down menu.

3
Restart and Test

Allow Microsoft 365 to download and install any pending updates. Once finished, restart Word and attempt to unlock your password-protected VBA project.

Update Microsoft 365 to the Latest Version
Update Availability: If your device is managed by an organization, you may need to contact your IT administrator to push the latest Microsoft 365 updates to your computer.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the quick on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Legacy Files: Launch WPS Writer and directly open your legacy document formats to enjoy fast, error-free editing.
Excellent compatibility with Microsoft Office formats, including .doc, .docx, and .dot templates.Completely free to download and use for essential document creation and editing tasks.Familiar, intuitive user interface that ensures a zero-learning-curve migration.Lightweight application that runs fast on virtually any Windows, Mac, or Linux device.
microsoft office alternative - wps office

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.