VBA & Macro Problems

How to Fix Word Add-In Macro Cannot Be Found or Disabled Error

Huma Ashraf ChHuma Ashraf Ch Nov 3, 2026 872 views

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.

Fixing the Word Add-In Macro Cannot Be Found or Has Been Disabled Error
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.
Before you start

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.

Solution 1Recommended

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.

1
Identify the correct macro

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.

2
Remove the broken button

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'.

3
Add the correct macro

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.

4
Save and restart

Save your template changes by clicking OK, then close and restart Word to ensure the new toolbar link functions properly.

Template Selection: Make sure you select the specific template name in the 'Customize Quick Access Toolbar' drop-down list before adding the macro, so the button is saved directly to the template rather than the default Normal.dotm.
Free Microsoft Office alternative

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. 1. Install WPS Office: Download and install the free version of WPS Office on your computer.
  2. 2. Open Your Template: Launch WPS Writer and open your existing .dotm macro-enabled template.
  3. 3. Enable Developer Tools: Navigate to the Developer tab to access the VBA Editor, manage add-ins, and run your macros flawlessly.
Free and lightweight alternative to Microsoft OfficeHigh compatibility with Microsoft Word (.docx, .dotm) formatsSupports VBA macros and add-ins seamlesslyFamiliar user interface for a quick and easy migration
QA img-9

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.