You can change Excel's Trust Center settings by opening Excel, going to File > Options > Trust Center > Trust Center Settings, and then adjusting the categories on the left. The Trust Center is where Excel controls macro security, trusted locations, add-ins, ActiveX warnings, and privacy options. Changing these settings affects how Excel handles potentially unsafe content, so adjust only what you understand and keep the defaults unless you have a specific reason to loosen them. The exact labels can differ slightly by Excel version, platform, and region, but the path is consistent across Excel for Microsoft 365, Excel 2021, and Excel 2019 on Windows. This guide focuses on Excel for Windows; Mac and web versions have fewer or different options, noted where relevant.
What You'll Need
- Excel installed on a Windows PC (the full Trust Center is not available in Excel for the web).
- Administrator rights on the computer if you need to change settings that are locked by group policy (common on work or school devices).
- A basic idea of why you are changing a setting—for example, enabling macros for a trusted workbook or adding a trusted folder.
- Permission from your IT department if the device is managed; some Trust Center options are greyed out by policy.
Step-by-Step
- Open Excel. You do not need a workbook open, but having one open is fine.
- Click File in the top-left corner, then click Options at the bottom of the left-hand menu. In some versions, Options appears in the Backstage view after File.
- In the Excel Options window, select Trust Center in the left pane.
- Click the Trust Center Settings... button on the right. A new dialog box opens.
- Use the categories on the left to choose what you want to change: Trusted Publishers, Trusted Locations, Trusted Documents, Add-ins, ActiveX Settings, Macro Settings, Protected View, Message Bar, External Content, File Block Settings, or Privacy Options. The list varies by version.
- Make your change. For example, to allow macros in a specific folder, go to Trusted Locations, click Add new location, browse to the folder, and decide whether to tick Subfolders of this location are also trusted. Click OK.
- Click OK to close Trust Center Settings, then OK again to close Excel Options.
- Close and reopen Excel so the new settings take effect. Some changes, such as macro settings, apply immediately to newly opened workbooks, but restarting avoids confusion.
If you are on a managed device and a setting is greyed out, it is controlled by group policy. You cannot override it from Excel; contact your IT administrator.
Common Mistakes
- Disabling all macros and then wondering why a trusted workbook fails. Macro Settings has options like Disable all macros with notification (the default) and Enable all macros (not recommended). Choose the least permissive option that still lets your trusted file run, and use Trusted Locations or Trusted Publishers instead of enabling everything.
- Adding an entire drive as a trusted location. Trusting C:\ or a network share root exposes you to any file placed there. Trust only the specific folder you need.
- Confusing Protected View with the file being broken. Files from the internet open in Protected View by default. That is a security feature, not an error. Use Enable Editing only after you trust the source.
- Expecting Trust Center changes to apply to Excel for the web. The web version has far fewer options and does not expose the full Trust Center.
- Changing settings and not restarting Excel. Some changes need a restart to be reliable, especially add-in and macro behavior.
- Ignoring the Message Bar. If the yellow bar is hidden, you may not see security warnings. Check Message Bar settings if warnings seem to disappear.
Tips
- Prefer Trusted Locations and Trusted Publishers over Enable all macros. They limit risk to known files and folders.
- Keep Protected View enabled for files from the internet, email attachments, and other potentially unsafe locations. It is one of the most effective defenses against malicious documents.
- Use Trusted Documents carefully. Once you tick Allow documents on a network to be trusted, Excel stops prompting for those files; only do this on networks you control.
- If you use add-ins, check Add-ins settings to see whether they are disabled. Re-enable only add-ins you recognize and need.
- Record what you changed and why. Trust Center changes are easy to forget and can cause confusing behavior months later.
- On shared or work computers, coordinate with IT before changing macro or ActiveX settings; policy may override you anyway.
Troubleshooting
- Trust Center Settings button is greyed out. Group policy is controlling it. Ask your administrator; you cannot change it locally.
- Macros still blocked after enabling them. Check Macro Settings, Trusted Locations, and whether the file is in Protected View. Also confirm the file is not blocked by Windows (right-click the file > Properties > Unblock if available).
- Settings do not stick. Close Excel fully, reopen, and recheck. If they revert, policy or a sync tool may be resetting them.
- Add-in not loading. In Trust Center, open Add-ins and check whether it is listed as disabled. Re-enable it, then restart Excel.
- Security warnings disappeared entirely. Check Message Bar settings; warnings may be turned off, which reduces your awareness of risky content.
- File opens read-only or in Protected View repeatedly. Confirm the file location is trusted if appropriate, and check Protected View settings. Do not disable Protected View globally just to avoid a prompt.
Frequently Asked Questions
Where is the Trust Center in Excel?
File > Options > Trust Center > Trust Center Settings. On Windows, this opens the full dialog with all categories. On Mac, Excel has a similar but smaller set of security options under Excel > Preferences > Security & Privacy; the full Trust Center is a Windows feature.
Can I change Trust Center settings in Excel for the web?
No. Excel for the web does not expose the Trust Center. Security behavior there is managed by Microsoft 365 and your organization. Use the desktop app for Trust Center changes.
What is the safest macro setting?
Disable all macros with notification is the default and a reasonable balance: Excel warns you and lets you enable macros for that session when you trust the file. Avoid Enable all macros, which runs code without prompting.
Why are some Trust Center options greyed out?
Your device is likely managed by an organization using group policy. Those settings are locked centrally and cannot be changed from Excel. Contact your IT administrator.
Do Trust Center changes affect all workbooks?
Most do—they are application-level settings. Trusted Locations and Trusted Publishers apply to files from those sources. Trusted Documents can apply per user and per document, depending on the options you choose.
Is it safe to add a network folder as a trusted location?
Only if you control the network and the folder. Trusting a network location means Excel will not warn about macros and other active content from files there. Keep the scope as narrow as possible.