To change Microsoft Word macro settings, open Word, go to File > Options > Trust Center > Trust Center Settings > Macro Settings, and choose the option that matches your needs. The default is "Disable all macros with notification," which shows a security warning when a document contains macros. Only enable macros from sources you trust, because macros can run harmful code.

What You'll Need

  • Microsoft Word installed on Windows or Mac (the steps below are for the desktop version; the web version has limited macro support and no Trust Center).
  • Administrator rights may be required on a work computer if settings are managed by IT.
  • A basic understanding that macros are small programs that automate tasks and can be malicious if from unknown sources.

Step-by-Step

  1. Open Microsoft Word. You can start with a blank document; you do not need a file open to change macro settings.
  2. Click File in the top-left corner, then click Options at the bottom of the left-hand menu. On Mac, click Word in the menu bar, then Preferences.
  3. In the Word Options window, select Trust Center from the left pane. (On Mac, look for Security & Privacy or Trust Center depending on your version.)
  4. Click the Trust Center Settings... button. This opens a separate dialog with security categories.
  5. Select Macro Settings from the left pane of the Trust Center dialog.
  6. Choose one of the four options:
    • Disable all macros without notification – macros are blocked silently; no warning appears. Most secure but can break legitimate macro-enabled documents.
    • Disable all macros with notification – the default. When a document with macros opens, a yellow security bar appears asking whether to enable them. You can enable per session.
    • Disable all macros except digitally signed macros – only macros with a valid digital signature from a trusted publisher run; others are blocked with notification.
    • Enable all macros (not recommended; potentially dangerous code can run) – all macros run without warning. Use only in a controlled environment with trusted files.
  7. Optionally, check or uncheck Trust access to the VBA project object model. This setting allows macros to programmatically access the VBA project; leave it unchecked unless you develop macros and understand the risk.
  8. Click OK to close the Trust Center dialog, then click OK again to close Word Options.
  9. Close and reopen Word to ensure the new settings take effect.

Note: Menu labels can differ slightly by Word version, device, or region. If you don't see an option, your organization may have locked it via group policy; contact your IT administrator.

Common Mistakes

  • Enabling all macros globally. This removes a key security layer. Prefer "Disable all macros with notification" and enable macros only for specific trusted files.
  • Confusing macro settings with ActiveX settings. They are separate categories in Trust Center; changing one does not affect the other.
  • Ignoring the security bar. Clicking "Enable Content" on an unknown document can run malicious code. Always verify the source first.
  • Assuming settings sync across devices. Macro settings are stored per installation and per user profile; they do not roam with your Microsoft account.
  • Forgetting to restart Word. Some changes only apply after restarting the application.

Tips

  • Use the Trusted Locations section in Trust Center to designate folders where macros can run without prompts. This is safer than enabling all macros.
  • For files you use regularly, consider adding the publisher to Trusted Publishers after verifying the digital signature.
  • If you develop macros, use a separate user account or virtual machine for testing to avoid exposing your main profile.
  • Keep Word updated; security updates often refine macro behavior and warnings.
  • On shared computers, avoid changing macro settings without the owner's consent.

Troubleshooting

  • Macro settings are grayed out: Your organization may manage them via group policy. Contact IT; you cannot override these settings locally.
  • Security warning does not appear: Check that the macro setting is not set to "Disable all macros without notification." Also ensure the document is not in a Trusted Location.
  • Macros still blocked after enabling: The file may be blocked by Windows (right-click the file > Properties > Unblock) or the macro may be digitally signed by an untrusted publisher.
  • Changes do not stick: Confirm you clicked OK in both dialog boxes. If using a roaming profile, settings may reset at logoff; check with your administrator.
  • Word crashes when enabling macros: The macro may be incompatible or corrupted. Open Word in safe mode (hold Ctrl while starting) to disable macros and troubleshoot.

Frequently Asked Questions

What is the safest macro setting in Word?

"Disable all macros with notification" is the recommended balance: macros are blocked by default but you can enable them per document after verifying the source.

Can I enable macros for just one document?

Yes. With the notification setting, a security bar appears when you open a macro-enabled document; click "Enable Content" to allow macros for that session only.

Why are macro settings grayed out?

Your computer is likely managed by an organization that enforces settings through group policy. Only an administrator can change them.

Do macro settings apply to Excel and PowerPoint too?

Each Office app has its own Trust Center, but the options are similar. Changing settings in Word does not affect Excel or PowerPoint.

What does "Trust access to the VBA project object model" do?

It allows macros to programmatically read and modify the VBA code itself. This is a security risk; leave it unchecked unless you develop and trust your own macros.

Can I reset macro settings to default?

Yes. Return to Trust Center > Macro Settings and select "Disable all macros with notification," then click OK. This restores the default behavior.