If you ended up in this article, you should have already seen the message "Microsoft has blocked macros from running because the source of this file is untrusted." Microsoft has recently started to show this message in Office products when users open a file that came from the internet, such as an email attachment, and that file contains macros. Although there are good deeds behind the feature, it becomes annoying as you see the message over and over. In this article, we are going to show how to get rid of Microsoft has blocked macros messages in Excel.

Unblocking the file

The first approach is for whom they want to deal with files separately and manually.

  1. Before opening your file, locate it in File Explorer.
  2. Right-click on your file and click Properties Alternatively, you can press Alt + Enter key combination as well.
  3. Check Enabled
  4. Click OK to apply.

After the final step, you can open your file without an annoying message.

Trusted Locations

Alternatively, you can add the folder where you download files into (usually "Downloads") into Excel's Trusted Locations. Once set, Excel will not show you the message for the files located in that folder.

Be warned that, if you moved the file a folder that isn't a trusted folder and run, you see the message.

Follow the steps to get rid of Microsoft has blocked macros message:

  1. Open Excel options by following File > Options.
  2. Open Trust Center
  3. Click Trust Center Settings
  4. In Trust Center window, activate Trusted Locations
  5. Click Add new location button to open Microsoft Office Trusted Location
  6. Use Browse button to select the folder.
  7. Click OK buttons to apply the setting.