Skip to content
3 min fix 3 min read Recently reviewedBeginner
Quick Answer

If you trust the document, click the Enable Editing or Enable Content button on the yellow bar to bypass the security block and interact with the file.

How to Fix "Trust Center" and Macro Security Warnings in Office

Estimated Time to Fix: 3 minutes

Applies to: Microsoft Word, Excel, PowerPoint
Article Type: Troubleshooting
Last Updated: 2026-07-20

Summary

This article explains what to do when you open a Microsoft Office file and see a yellow bar at the top warning you about "Protected View", "Macros have been disabled", or "SECURITY WARNING".

Symptoms

  • You open a document from the internet or an email, and a yellow bar appears at the top saying "Protected View".
  • An Excel spreadsheet with automated scripts shows "SECURITY WARNING Macros have been disabled".
  • You cannot edit the document or run the automated scripts until the warning is resolved.

Prerequisites

  • None required.

Instructions

1. Enable Editing (Protected View)

  1. If the yellow bar says PROTECTED VIEW, it means the file was downloaded from the internet or received via email. Office opens it in a restricted mode to prevent viruses from infecting your computer.
  2. If you trust the sender and expected the file, click the Enable Editing button on the right side of the yellow bar.
  3. The file will now become editable.

2. Enable Content (Macros)

  1. If the yellow bar says SECURITY WARNING Macros have been disabled, the file contains automated code (macros).
  2. Malicious macros are a very common way hackers distribute ransomware. You should only enable macros if you explicitly trust the source (e.g., an internal company report).
  3. If you trust the file, click the Enable Content button on the right side of the yellow bar. The macros will now run.

3. Unblock a Downloaded File (Persistent Warnings)

  1. Sometimes, clicking "Enable Content" doesn't work, or the warning keeps coming back.
  2. Close the Office application completely.
  3. Locate the downloaded file in your Downloads folder (or wherever you saved it).
  4. Right-click the file and select Properties.
  5. At the bottom of the General tab, look for a "Security" section. Check the box that says Unblock.
  6. Click OK, then reopen the file. The warnings should disappear.

Troubleshooting

DANGER

Never click "Enable Content" or "Enable Editing" on an invoice, receipt, or tracking document from an unknown sender. This is a common phishing tactic used to install malware on your computer.

Symptom / ErrorPotential CauseSolution
"Microsoft has blocked macros from running"Mark of the WebMicrosoft strictly blocks macros in files from the internet. Use Method 3 to "Unblock" the file via its Properties menu.
There is a red warning bar instead of a yellow oneIT PolicyYour IT department has completely blocked the content. You must request an exception from the IT Help Desk.