VBA & Macro Problems

How to Fix a Word Macro That Cannot Be Found or Is Disabled

Steven ParkerSteven Parker Oct 29, 2026 870 views

Question details

The user is encountering an error indicating that a macro cannot be found or is disabled when attempting to run a script or use an add-in in Word.

How to Fix a Word Macro That Cannot Be Found or Is Disabled
Product
Word
Device & OS
not provided
Scenario
Attempting to run a macro or utilize a macro-enabled add-in to automate tasks in a Word document.
Observed behavior
Word throws an error stating the macro is unavailable, cannot be found, or has been disabled, blocking the execution of the VBA code.
Before you start

Ensure you know the original source of the macro or add-in, as enabling macros from untrusted sources can expose your system to potential security risks.

Solution 1Recommended

Adjust Trust Center Macro Settings

If macros are disabled by default for security reasons, you need to manually enable them or add the file's directory to your Trusted Locations.

Microsoft Word incorporates a Trust Center that restricts potentially unsafe code from executing automatically. If a macro is blocked by these security settings, adjusting the permissions will resolve the issue.

1
Open Word Options

Click on 'File' in the top-left corner and select 'Options' at the bottom of the menu to open the Word Options dialog box.

2
Navigate to Trust Center

Select 'Trust Center' from the left pane, then click the 'Trust Center Settings' button on the right.

3
Modify Macro Settings

Click on 'Macro Settings' in the left menu. Choose 'Disable all macros with notification' so you can selectively allow trusted macros when prompted.

4
Restart Microsoft Word

Click 'OK' to apply the changes, then completely close and restart Word for the new security settings to take effect.

Adjust Trust Center Macro Settings
Security Warning: Avoid selecting 'Enable all macros' permanently, as this bypasses crucial security warnings and makes your computer vulnerable to malicious code.
Free Microsoft Office alternative

Experience a Seamless and Secure Document Editor with WPS Office

If you are experiencing persistent macro issues or complex security configurations in Microsoft Word, consider trying WPS Office. It provides a highly compatible, lightweight, and intuitive environment for handling all your document tasks efficiently.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install the Software: Run the downloaded installer file and follow the simple on-screen instructions.
  3. 3. Open Your Documents: Launch WPS Writer and seamlessly open your existing Word documents to continue your work without interruption.
Highly compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation with incredibly fast document loading speeds.Familiar tabbed user interface that requires zero learning curve.Built-in PDF reader and editor for comprehensive, all-in-one document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the ribbon show my custom macro button but clicking it says the macro cannot be found?

This typically happens if the document was originally created with macros but was later saved as a standard .docx file. The .docx format actively strips out all VBA code during saving, leaving only the user interface customizations (like ribbon buttons) intact.

How do I know if a macro is safe to enable and run?

Only run macros from trusted sources, internal company developers, or verified third-party creators. You can also manually inspect the VBA code by pressing Alt + F11 to open the Visual Basic Editor before running the macro to ensure it does not contain unexpected commands.

Does changing the Trust Center macro settings require restarting Word?

Yes, in most cases, after you change your macro security settings or add a new folder to the Trusted Locations in the Trust Center, you must completely close and restart Word for the new permissions to be fully applied.

Can a corrupted add-in file cause this disabled macro error?

Yes. If the add-in template file (.dotm) becomes corrupted, Word may fail to read the internal VBA project properly. Disabling the add-in, deleting it, and replacing it with a fresh, uncorrupted copy will typically resolve the issue.