A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Dear @Shannon Nielsen,
Welcome to Q&A forum. I understand that you are seeing the message “Microsoft has blocked macros from running because the source of the file is untrusted” at the top of your Excel file.
This behavior is expected in Microsoft 365 Apps for Windows. When an Excel file is downloaded from the internet, received by email, or copied from certain external locations, Windows marks the file as coming from an untrusted source. To help protect your device and data, Excel automatically blocks macros in these files.
If you trust the source of the file, you can unblock it by following the steps below:
Option 1: Unblock a single file
Close Excel completely.
Open File Explorer and locate the Excel file (.xlsm).
Right‑click the file and select Properties.
In the General tab, under Security, check Unblock.
Select Apply, then OK.
Reopen the file in Excel.
Note: If you do not see the “Unblock” option in the file’s Properties, this usually means the file is not stored locally on your device or the macro block is being enforced by Windows or organizational security settings, rather than by the file itself.
Option 2: Use a Trusted Location (recommended if you use macros often)
Open Excel and go to File > Options.
Select Trust Center, then Trust Center Settings.
Choose Trusted Locations.
Select Add new location and choose the folder where the file is stored.
Select OK, then restart Excel.
Please note that in some work or school environments, security policies may prevent users from unblocking macros locally. If the options above are unavailable or do not work, your IT administrator may need to review the macro security policy.
Option 3: Check with your IT administrator
If macros are still blocked, the behavior is likely controlled by an organizational security policy. In that case, individual users cannot override the setting locally, and an IT administrator would need to review or adjust the macro security configuration.
Important note Changing Excel macro settings (for example, enabling all macros) does not override this block. The restriction is applied before Excel loads the macro as part of Windows and Microsoft 365 security protections.
Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.
I truly appreciate your patience and understanding. If you have any further questions or need further clarification, please feel free to reach out. I'm looking forward to hearing from you.
Thank you for your cooperation.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.