Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Trust Center Settings Blocking Macros: How to Fix

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Trust Center settings block macros when Microsoft Office's default security policy is set to disable them, which is the normal, protective state. To allow macros for a specific file, you must either move that file into a trusted location or enable macros for the current session, and you should only do this for files you created or received from a source you fully trust. The steps below cover Word, Excel, PowerPoint and Outlook on Windows and Mac, because the Trust Center is shared across the Office apps and the labels can differ slightly by version, device and region.

What You'll Need

  • A Windows PC or Mac with Microsoft Office (Microsoft 365 or a standalone version) installed.
  • The file that contains the macro, saved locally or in a location you control.
  • Administrator rights if your organization manages Office settings; otherwise some options will be greyed out.
  • Confirmation that the macro file comes from a trusted source. If you are not sure, do not enable it.

Step-by-Step

  1. Open the Trust Center. In any Office app, go to File > Options. On a Mac, use the app menu (for example Word > Preferences) and then Security & Privacy. In the Options window, select Trust Center and click Trust Center Settings. On Mac, the equivalent button is usually Trust Center inside the Security & Privacy pane. If you do not see Trust Center, your organization may have hidden it.
  2. Check the Macro Settings. In the Trust Center, click Macro Settings. You will see options such as Disable all macros without notification, Disable all macros with notification, Disable all macros except digitally signed macros, and Enable all macros (not recommended). The default is usually Disable all macros with notification, which shows a yellow security bar when a file contains macros. If Disable all macros without notification is selected, macros are blocked silently and no bar appears. Change this only if you understand the risk, and prefer Disable all macros with notification so you can decide per file.
  3. Use the notification bar for a one-off file. With Disable all macros with notification selected, open the file. A yellow bar appears below the ribbon saying macros have been disabled. Click Enable Content only if you trust the file. This enables macros for that session; the setting does not become permanent for all files.
  4. Add a trusted location for files you use often. In the Trust Center, click Trusted Locations. Click Add new location, browse to the folder that holds your macro files, and tick Subfolders of this location are also trusted if needed. Files in a trusted location run macros without the security bar. Do not add broad folders such as your entire Documents folder or a network share that others can write to.
  5. Check Trusted Documents. In the Trust Center, click Trusted Documents. If Disable Trusted Documents is ticked, every file asks for permission each time. Clear that tick if you want files you have already enabled to open without prompting. You can also clear the list of trusted documents here, which resets all previous approvals.
  6. Verify the file is not blocked by Windows. Right-click the file in File Explorer, choose Properties, and look at the bottom of the General tab. If you see Unblock, tick it and click OK. Files downloaded from the internet or received by email are often marked as blocked, and Office will refuse to run macros even when Trust Center settings allow them.
  7. Check digital signatures. If your macro file is digitally signed by a trusted publisher, select Disable all macros except digitally signed macros in Macro Settings. Unsigned macros will be blocked, but signed ones from trusted publishers run. You can view and manage publishers under Trusted Publishers in the Trust Center.
  8. Confirm the file type. Macro-enabled files use extensions such as .docm, .xlsm and .pptm. A .docx, .xlsx or .pptx file cannot store macros, so if you saved a macro file with a standard extension, the macros are gone. Re-save it with the macro-enabled format.
  9. Check group policy or organizational management. If options are greyed out, your organization controls Office settings. Contact your IT administrator; do not try to override managed settings.

Common Mistakes

  • Selecting Enable all macros to solve a single file problem. This removes protection for every document you open and is a common route for malware.
  • Adding a whole drive or a shared network folder as a trusted location. Anyone who can write to that folder can run code on your machine.
  • Forgetting the Windows Unblock checkbox. Trust Center settings can look correct while the file is still blocked at the operating system level.
  • Assuming a file has macros when it is saved as .xlsx or .docx. The macros are not hidden; they are not there.
  • Clicking Enable Content on every prompt without checking the sender. The security bar is a decision point, not a nuisance.
  • Expecting Trust Center changes to apply to Outlook macros. Outlook uses its own macro security settings under File > Options > Trust Center > Trust Center Settings > Macro Settings, and the wording differs.

Tips

  • Keep the default Disable all macros with notification. It blocks silently malicious files while letting you enable a trusted file for one session.
  • Use a dedicated folder such as C:\Macros as your only trusted location, and keep it out of shared or synced areas.
  • Ask macro authors for a digitally signed version. Signed macros are the cleanest way to allow specific code without opening the door to everything.
  • If you use Office on both Windows and Mac, set the Trust Center options separately on each machine; they do not sync.
  • After changing Trust Center settings, close and reopen the Office app so the new policy takes effect.

Troubleshooting

  • No yellow security bar appears. The Macro Settings may be set to Disable all macros without notification. Change it to Disable all macros with notification and reopen the file.
  • The Enable Content button is greyed out. The file may be in a trusted location already, or the document may be protected. Check Trusted Locations and the file's read-only status.
  • Macros still blocked after adding a trusted location. Confirm the file is actually inside that folder, including subfolders if you did not tick the subfolder option. Then close and reopen the app.
  • Settings are greyed out. Group policy or your organization's device management is enforcing the setting. Contact IT; do not attempt to bypass it.
  • Macros run on one PC but not another. Compare Macro Settings, Trusted Locations and the Windows Unblock status on both machines. Also check whether the file arrived through email, which can add a block.
  • Macro file opens but code does nothing. The file may have been saved in a non-macro format, or the macro may be disabled by a digital signature requirement. Re-save as .docm, .xlsm or .pptm and check Trusted Publishers.

Frequently Asked Questions

Why does Office block macros by default?

Macros can run code automatically, so Microsoft disables them by default to protect against malicious documents. The Trust Center is where you decide which files to allow.

Is it safe to enable all macros?

No. Enabling all macros removes the warning for every file, including malicious ones. Use trusted locations or per-file enabling instead.

Do Trust Center settings apply to all Office apps?

They are shared across Word, Excel and PowerPoint on the same installation, but Outlook has its own macro settings and Mac settings are separate from Windows.

Can I allow macros for just one file?

Yes. With the notification setting enabled, click Enable Content on the yellow bar for that file. You can also place the file in a trusted location.

Why is the Enable Content button missing?

The file may be blocked by Windows, saved in a non-macro format, or your organization may have set macros to disable without notification. Check the file properties and Macro Settings.

Does adding a trusted location affect other users?

Trusted locations are set per user profile on that computer. Other users on the same PC have their own Trust Center settings.