How to Fix Word Add-In Macro Cannot Be Found or Disabled Error
Question details
The user is experiencing an error where a Word add-in macro cannot be found or is disabled when clicking a button, despite the template being trusted and loaded.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Clicking a customized Quick Access Toolbar button to trigger a macro after reinstalling Office.
- Observed behavior
- An error message appears stating the macro cannot be found or has been disabled, which happens because the toolbar button is still linked to an old or incorrect template path.
Ensure your macro security settings in the Trust Center are configured to enable macros, and verify that the add-in template file (.dotm) is saved in a trusted location.
Re-link the Macro in the Quick Access Toolbar
Use this recommended method to point the broken Quick Access Toolbar button to the correct macro within your loaded add-in template.
When Office is reinstalled, customized toolbar buttons may lose their original reference paths. Even if the add-in is loaded, the button itself might still be searching for a macro in a different or non-existent template.
Open Microsoft Word and press Alt + F11 to launch the VBA Editor. Locate your add-in project in the left pane and identify the exact module and macro name.
Navigate to File > Options > Quick Access Toolbar. In the right-hand box, find the button that is currently causing the error, select it, and click 'Remove'.
In the 'Choose commands from' drop-down menu on the left, select 'Macros'. Find the correct macro you identified earlier, select it, and click 'Add' to place it on the Quick Access Toolbar.
Save your template changes by clicking OK, then close and restart Word to ensure the new toolbar link functions properly.
Bypass Auto-Run Macros to Troubleshoot
Use this method if the macro error appears immediately upon opening Word due to automatic startup scripts.
Experience Seamless Macro Support with WPS Office
If Microsoft Word macro issues persist after reinstallation, consider switching to WPS Office. It provides a lightweight, highly compatible environment with robust support for VBA macros and Word templates, ensuring your automated tasks run smoothly without complex troubleshooting.
- 1. Install WPS Office: Download and install the free version of WPS Office on your computer.
- 2. Open Your Template: Launch WPS Writer and open your existing .dotm macro-enabled template.
- 3. Enable Developer Tools: Navigate to the Developer tab to access the VBA Editor, manage add-ins, and run your macros flawlessly.

Frequently Asked Questions
Why does the macro error appear even when my Trust Center settings enable all macros?
This usually happens because the button on your Quick Access Toolbar is pointing to a macro in an old file path or a different template. Even if macros are enabled globally, Word cannot execute a macro if the exact file location linked to the button no longer exists.
How do I know if my Word add-in template is properly loaded?
Navigate to the Developer tab and click on 'Word Add-ins' or go to File > Options > Add-ins. If your template appears in the list with a checkmark next to it, it is currently loaded and active in your Word session.
Can I run my existing Word macros (.dotm) in an alternative software like WPS Office?
Yes, WPS Office offers excellent compatibility with Microsoft Office formats, including macro-enabled templates (.dotm). By enabling VBA support in WPS Office, you can load and run your existing macros natively.




