how to unblock macros

Bashist Swarnkar 0 Reputation points
2025-11-26T20:56:42.2633333+00:00

was practising filling itr in excel but it was blocked .


Moved from: Microsoft Copilot | Microsoft Security Copilot

Microsoft 365 and Office | Excel | Other | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-26T20:56:51.8733333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To unblock macros in Excel, you can follow these steps depending on the scenario:

    1. Individual Files:
      • Right-click on the file, select Properties, and check the Unblock checkbox on the General tab.
      • Alternatively, you can use the Unblock-File cmdlet in PowerShell to remove the Mark of the Web from the file.
    2. Files on a Network Share or Trusted Website:
      • Use the same approach as for individual files. If there isn't an Unblock checkbox, you can designate the location as a Trusted site or add it to the Local intranet zone.
    3. Files on OneDrive or SharePoint:
      • Open the file using the Open in Desktop App option. If downloaded locally, remove the Mark of the Web as described for individual files.
      • You can also designate the location as a Trusted site.

    By following these steps, you should be able to unblock macros and allow them to run in your Excel files.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.