How to Fix Word Macros Blocked in Older Documents
Question details
The user needs a way to successfully execute macros in older Microsoft Word documents where they are currently blocked due to security restrictions.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Running existing VBA macros in older or received Microsoft Word documents.
- Observed behavior
- Macros run normally in newly created documents but are blocked in older files with a warning message stating the file source is untrusted.
Verify that your older documents are from a secure origin, and ensure you have copied any essential VBA code to a safe text file before modifying global templates.
Store Macros as a Global Add-in in the Word Startup Folder
Saving your macros inside a macro-enabled template within the Word Startup folder allows them to load globally as an add-in, bypassing the document-specific trust blocks on older files.
By converting your macros into a global template, Microsoft Word will load them automatically every time the application opens. This ensures your trusted macros remain accessible regardless of the individual security status of the older documents you are editing.
Open Microsoft Word, navigate to the 'View' tab, click on 'Macros', select 'View Macros', and click 'Edit'. Copy all the necessary VBA code from the editor.
Create a brand new blank Word document. Paste your copied macro code into the macro editor associated with this new document. Avoid using plain text editors like Notepad for this step.
Click 'File' > 'Save As'. Choose the 'Word Macro-Enabled Template (*.dotm)' format. Navigate to your Startup folder, typically located at %appdata%\Microsoft\Word\Startup, and save the file.
Close all active instances of Microsoft Word and restart your computer if necessary to ensure the new global template loads as an add-in.

Verify Group Policy Settings in Managed Environments
If you are using a work computer, corporate IT policies might be strictly blocking macro execution or the Visual Basic Editor across older documents.
Experience Hassle-Free Document Editing with WPS Office
If strict security blocks and complicated macro settings in Microsoft Word are slowing down your productivity, consider trying WPS Office. It provides a lightweight, highly compatible environment for seamless document processing.
- 1. Download the software: Visit the official WPS website to download and install the free WPS Office suite on your device.
- 2. Open legacy documents: Launch WPS Writer and simply open your older document files to begin editing immediately.
- 3. Work seamlessly: Enjoy standard word processing tasks with a streamlined, fast, and familiar user interface.

Frequently Asked Questions
Why do my macros work in new Word documents but not older ones?
Older documents, especially those received via email or downloaded from the internet, may carry a 'Mark of the Web' which causes Microsoft Word's Trust Center to flag them as an untrusted source, thereby blocking macros. New, locally created documents bypass this specific security check.
Where is the default Word Startup folder located?
By default in Windows environments, the Word Startup folder is located at %appdata%\Microsoft\Word\Startup. You can quickly access this by pasting the path directly into your File Explorer address bar.
Why can't I edit my macros after saving them in the Startup folder?
When a macro-enabled template (.dotm) is loaded from the Startup folder, Microsoft Word treats it as an active global add-in. You cannot directly edit the code of a loaded add-in. To modify the macro, you must use 'File > Open' to open the actual .dotm file from the Startup directory.




