Author Topic: microsoft is blocking macros  (Read 32 times)

achseh

  • Newbie
  • *
  • Posts: 9
    • View Profile
microsoft is blocking macros
« on: August 11, 2026, 01:30:21 pm »
I thought there was something a while ago that told how to make microsoft accept macros - can't find it now.  Help?

Scott

  • Administrator
  • Sr. Member
  • *****
  • Posts: 451
  • https://mycostpro.com
    • View Profile
    • MyCostPro
Re: microsoft is blocking macros
« Reply #1 on: August 11, 2026, 07:05:08 pm »
Hi, There could be different things causing the macros to not run.  Here is a walk trough the possible causes:

Case 1: When file is first downloaded (first time use)

Files downloaded from the web, received by email, or pulled off a network share get tagged as external. Open one and you'll see a red notification bar saying macros were stopped because the file's origin isn't trusted, with no button to just allow it.

Fix:
Close the file.
In File Explorer, right-click it and choose Properties.
On the General tab, check the box near the bottom (something like "this file came from another computer").
Click Apply, then OK.
Reopen the file.

If you open files from the same folder often, add that folder as a Trusted Location: File > Options > Trust Center > Trust Center Settings > Trusted Locations.

Case 2: The file isn't blocked, macros are just off

Here the yellow notification bar has a button in it. Click it and macros run.

Excel's macro settings
Excel also has a general setting controlling how it handles macros overall: File > Options > Trust Center > Trust Center Settings > Macro Settings. Four choices:
Disable all macros without notification