Since you haven’t specified your account type, I may not be able to provide an exact solution. However, assuming you're using a school account managed and provided by your school, you may consider the following guide.
Hi @Anahi Fabian,
Thank you for reaching out to Microsoft Q&A Forum.
In this case, you’re hitting Excel’s “Blocked macros from untrusted source” protection, which kicks in whenever the file carries an Internet “mark” or isn’t in a trusted location. Unblocking in Properties often isn’t enough, especially if the file lives in OneDrive/SharePoint/Teams or a network drive.
Typically, in an enterprise environment, when you see the banner below:

It means macros from internet are blocked by default in Office. In the past, you can see a yellow banner give you the ability to enable macros. VBA macros are a common way for malicious actors to gain access to deploy malware and ransomware. Therefore, to help improve security in Office, Microsoft is changing the default behavior of Office applications to block macros in files from the internet.
The Learn More button goes to an article for end users and information workers that contains information about the security risk of bad actors using macros, safe practices to prevent phishing and malware, and instructions on how to enable these macros (if needed).
As an end user you can try to do some slightly more advance workarounds:
To begin, please make sure the file is saved in a macro-enabled format: .xlsm, .xlsb, or a template .xltm.
You can try to put the file in a Trusted Location since Excel will always allow macros from folders you mark as trusted.
- Open the workbook in Excel.
- Go to File → Options → Trust Center → Trust Center Settings… → Trusted Locations.
- Click Add new location…, browse to a local folder you control (e.g.,
C:\Users\<you>\Documents\ExcelTrusted\), and OK.
- Move or save your macro workbook into that folder and reopen it. Avoid using synced cloud folders (OneDrive/SharePoint) for the trusted location unless you must; local paths are simplest. If file is from OneDrive/SharePoint, download it and save it to a local trusted folder. Files in Trusted Locations bypass the “untrusted source” check and open with macros enabled (subject to your macro settings).
If the file was downloaded (Internet mark persists), Windows tags downloaded files with an Internet Mark (Zone.Identifier). That mark can persist even after “Unblock” if the file is copied through certain apps or storage. You can try two alternatives:
- Resave into the trusted folder from Excel (File → Save As).
- Or re‑download the file directly into your trusted folder.
- If you’re comfortable with advanced steps, you can remove the Internet security mark using PowerShell (run as your account): Note: Only do this for files you fully trust. You must have local administrator privileges to execute PowerShell commands. You can read through this article about PowerShell commands: Getting Started with PowerShell - PowerShell | Microsoft Learn
- You can use PowerShell "Get-Item "C:\Path\To\File.xlsm" | Unblock-File", it's a built-in cmdlet for removing MOTW.
- If you use Remove-Item 'C:\Path\YourWorkbook.xlsm' -Stream Zone.Identifier, it's a manual removal of the MOTW stream, more control but riskier.
- If you want to see if the file has an Internet zone mark, use Get-Item 'C:\Path\YourWorkbook.xlsm' -Stream Zone.Identifier
However, if the issue persists, you have to reach out to your IT administrator. If your school enforces macro-blocking via Group Policy or Intune, these steps might not override the policy. In that case, IT must adjust settings or approve trusted locations. Your IT admin can give this article Macros from the internet are blocked by default in Office - Microsoft 365 Apps | Microsoft Learn a read to know what to do to allow VBA Macros to run in files in enterprise environment depends on your school's scenarios.

If the issue persists even after reviewing these policies, your IT team can collect diagnostic logs and raise the case to Microsoft Support for further troubleshooting. For further investigation and resolution, your IT administrator can create a support ticket from Microsoft 365 Admin Center > Support > Help & Support with their admin credentials.

Microsoft also provides customer service phone numbers based on your region. You can find the appropriate contact number here: Customer service phone numbers - Microsoft Support.
Note: We appreciate your understanding regarding the scope of support available through this forum. As moderators, our role is to provide general guidance and assist with common troubleshooting steps. While we do not have access to internal systems or administrative tools required to resolve account-specific or backend-related issues but we’ll continue doing our best to support you within the scope of our responsibilities. I hope the information provided proves useful. Please proceed with the outlined steps and let me know whether they resolve the issue. If not, I’ll be glad to continue working with you to find a solution.
Thank you for your patience and understanding throughout this process. Should you have any questions or need further assistance, feel free to reach out at any time.
If the answer is helpful, click "Accept Answer" and vote positively. If you have more questions about this answer, click "Comment".
Note: Follow the steps in our documentation to enable email notifications if you want to receive email notifications related to this topic.