When you open a Word document that contains macros, you may see the error message: “The macros in this project are disabled.” This error occurs because Word’s security settings or the document’s source prevents macros from running. The message can block automated tasks, forms, or custom tools you rely on. This article explains why Word disables macros and provides clear steps to re-enable them safely.
Key Takeaways: Re-enabling Macros in Word
- File > Options > Trust Center > Trust Center Settings > Macro Settings: Change the macro setting to “Enable all macros” or “Disable all macros with notification” to control behavior.
- File > Info > Enable Content: Click this button when the warning bar appears to enable macros for the current session only.
- File > Properties > General > Unblock: If the file was downloaded from the internet, check this checkbox to remove the web mark of the unsafe origin.
Why Word Disables Macros in a Project
Word uses a security model to protect you from potentially harmful code. Macros are small programs written in VBA that can automate tasks. Because macros can also execute malicious commands, Word disables them by default in documents from untrusted sources. The most common triggers are:
- Downloaded files: A file from the internet, email, or a network share is marked with a web zone identifier. Word treats these files as untrusted.
- Default macro settings: The default setting in Word is “Disable all macros with notification.” This shows the error but lets you enable macros manually.
- Digitally signed macros: If the macro is signed by an unknown or revoked publisher, Word blocks it even if other settings are permissive.
- Group Policy: In a corporate environment, an administrator may enforce a policy that disables all macros.
Understanding these causes helps you choose the correct fix. The goal is to re-enable macros only for documents you trust, not to lower security globally.
Steps to Re-enable Macros in a Disabled Project
Follow these steps in order. Start with the quickest method and move to more permanent changes only if needed.
Method 1: Enable Macros Through the Warning Bar
When you open a document with disabled macros, a yellow or red warning bar appears below the Ribbon. This is the fastest way to enable macros for that document only.
- Open the document in Word
Look for the warning bar that says “Security Warning: Macros have been disabled.” It usually appears at the top of the document window. - Click the Enable Content button
Click the button on the warning bar. Word will ask you to confirm. Select “Enable Content” again from the dropdown menu. The macros will run immediately for this session. - Save the document
After enabling, save the file. The next time you open it, the warning bar will reappear unless you also mark the file as trusted.
Method 2: Unblock the File in File Properties
If the document came from the internet, Windows adds a hidden mark that tells Word to block macros. Removing this mark is a permanent fix for that file.
- Close Word
Make sure the document is not open in Word. - Right-click the file in File Explorer
Choose “Properties” from the context menu. - Go to the General tab
Look at the bottom of the tab. If the file was downloaded, you will see a security message: “This file came from another computer and might be blocked to help protect this computer.” - Check the Unblock checkbox
Check the box next to “Unblock.” Click Apply and then OK. - Reopen the document in Word
The warning bar should no longer appear, and macros will run without prompting.
Method 3: Change the Macro Security Setting in Trust Center
This method changes Word’s default behavior for all documents. Only use this if you regularly work with macro-enabled files from sources you trust.
- Open Word and go to File > Options
Click the File tab, then click Options at the bottom of the left pane. - Select Trust Center
In the Word Options dialog, click Trust Center in the left column. - Click Trust Center Settings
Click the button labeled “Trust Center Settings.” - Choose Macro Settings
In the left column of the Trust Center dialog, click Macro Settings. - Select the appropriate option
Choose one of the following:- Disable all macros with notification (default): Macros are disabled but you can enable them via the warning bar. This is the safest option.
- Enable all macros: Macros run without warning. Use only if you fully trust all documents you open.
Do not select “Enable all macros” unless absolutely necessary.
- Click OK twice
Click OK to close the Trust Center, then OK again to close Word Options. Restart Word for the changes to take effect.
Method 4: Add a Trusted Location for the Document Folder
If you store macro-enabled documents in a specific folder, you can mark that folder as trusted. All files in that folder will have macros enabled automatically.
- Open Word and go to File > Options > Trust Center
Follow steps 1 and 2 from Method 3. - Click Trust Center Settings
Then click Trusted Locations in the left column. - Click Add new location
Click the button at the bottom of the dialog. - Browse to the folder
Click Browse and select the folder that contains your macro-enabled documents. Check the box “Subfolders of this location are also trusted” if needed. - Click OK three times
Click OK to close each dialog. Restart Word.
If Macros Still Do Not Run After Re-enabling
In some cases, the error persists even after you follow the steps above. Here are the most common reasons and their fixes.
“The macros in this project are disabled” appears every time I open the file
The file may be stored in a location that is not trusted. Move the file to a trusted folder as described in Method 4. Alternatively, the file may be on a network drive that is blocked by Group Policy. Contact your IT administrator to check if macros are disabled by policy.
Word crashes or freezes when I enable macros
The macro code itself may be corrupt or incompatible with your version of Word. Try opening the document in Safe Mode. Press and hold the Ctrl key while double-clicking the file icon. If the macros work in Safe Mode, an add-in is likely causing the conflict. Disable add-ins via File > Options > Add-ins.
I see a certificate warning when enabling macros
The macro is digitally signed by a publisher whose certificate is not trusted by Word. To trust the publisher permanently, click “Trust all documents from this publisher” in the certificate dialog. Only do this if you are certain the publisher is safe.
Macro Security Settings Comparison
| Setting | Behavior | Risk Level |
|---|---|---|
| Disable all macros without notification | All macros are blocked silently; no warning bar appears | Lowest risk; users cannot run any macro |
| Disable all macros with notification | Macros blocked but warning bar allows manual enable | Low risk; user must approve each macro |
| Disable all macros except digitally signed macros | Only macros with a trusted publisher certificate run | Moderate risk; depends on certificate trust |
| Enable all macros | All macros run without any prompt | Highest risk; not recommended for general use |
Word’s default setting is “Disable all macros with notification.” Changing to “Enable all macros” makes your system vulnerable to macro-based malware. Always prefer unblocking a single file or adding a trusted location over lowering the global security level.
You can now re-enable macros in Word using the warning bar, file properties, Trust Center settings, or trusted locations. If the error repeats, check Group Policy or macro corruption. For daily use, keep the default macro notification setting and only enable content from documents you trust. To further secure your environment, consider requiring digitally signed macros for all automated workflows.