How to get macros on ?

Kapu Mahathi 0 Reputation points
2026-11-10T06:42:45.18+00:00

Microsoft has blocked macros in my office outlook account which all the members in the office use, I have tried all the steps that are available on the internet and still the issueUser's image

is not fixed, need a solution on this

Microsoft 365 and Office | Excel | Other | Windows
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-10T06:43:33.6433333+00:00

    Save the Excel file locally, close Excel, then right-click the file in File Explorer and select Properties > General > Unblock > Apply > OK before reopening it; changing Excel’s general macro setting does not remove this untrusted-source block.^1^

    Only do this after verifying that the workbook and its macros are safe.

    For one downloaded or emailed workbook

    1. In Excel, select File > Save As and save the workbook to a local folder such as Documents.
    2. Close Excel completely.
    3. In File Explorer, right-click the saved .xlsm file and select Properties.
    4. On the General tab, select Unblock, then Apply > OK.
    5. Reopen the workbook.

    Windows adds origin information—called Mark of the Web—to files obtained from email, browsers, or other untrusted locations. Removing it from a trusted file allows Office to evaluate and run its macros normally.^2^

    Since the Trust Center and other general internet instructions have not fixed the issue, use the matching location-specific branch below rather than enabling all VBA macros.

    If there is no Unblock checkbox

    The workbook is likely being opened from a network or cloud location where per-file unblocking is unavailable or ineffective.

    Local folder containing multiple approved workbooks

    In Excel:

    1. Select File > Options > Trust Center > Trust Center Settings.
    2. Select Trusted Locations > Add new location.
    3. Browse to a dedicated, access-controlled folder.
    4. Select OK, move the approved workbook into that folder, and reopen it.

    Every workbook placed there can run active content, so do not use Downloads or another folder where untrusted files arrive.

    Company network share

    If everyone opens the workbook from the same internal server, ask IT to designate that server as a Trusted Site or place an intranet server in the Local intranet zone. For a direct test on one managed PC:

    1. Open Windows search and enter Internet Options.
    2. Select Security > Trusted sites > Sites.
    3. Add the exact server or site hosting the workbook.
    4. Close and reopen Excel.

    Network shares accessed by IP address can be classified as Internet-zone locations, causing macros to remain blocked. Microsoft recommends controlling who can write files to any trusted location.^2^

    SharePoint, OneDrive, or Teams

    Do not download the workbook through the browser. Open it on the SharePoint or OneDrive website and select Open in Desktop App, or access it through the OneDrive sync client. Files opened by those methods do not receive Mark of the Web in the documented scenarios.^2^

    If all office members are affected

    Have the Microsoft 365 or Windows administrator deploy a controlled organization-wide configuration rather than asking each user to weaken macro security:

    • Approve a dedicated Trusted Location for the workbook.
    • Assign the internal file server, SharePoint, or OneDrive domain to Trusted Sites through the Site to Zone Assignment List policy.
    • Restrict write access to the approved location.
    • For internally developed macros, sign them and deploy the trusted publisher certificate where appropriate.

    If the warning instead says “Your administrator has restricted the use of macros in your organization,” it is an administrator policy block. Users cannot override that in Trust Center; the workbook must be moved to an IT-approved location or the administrator must change the applicable policy.^1^

    Do not disable all macro protection. Office intentionally prevents active content from running automatically unless the document, location, or publisher is trusted.^3^


    References

    1. A potentially dangerous macro has been blocked
    2. Macros from the internet are blocked by default in Office
    3. Protect yourself from macro viruses
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. SD - IA 182.9K Reputation points Independent Advisor
    2026-11-10T07:42:55.17+00:00

    Hi,

    Please select the file and then press Alt+Enter.

    On the General Tab > Unblock the file and let me know.

    User's image

    #2:

    1. Open Excel.
    2. Go to File > Options > Trust Center.
    3. Select Trust Center Settings.
    4. Click Macro Settings.
    5. Select Disable VBA macros with notification.
    6. Click OK and restart Excel.

    #3: Add a Trusted Location

    1. Open Excel and navigate to File > Options > Trust Center.
    2. Select Trust Center Settings > Trusted Locations.
    3. Click Add new location.
    4. Browse to the folder containing your trusted Excel files.
    5. Select OK.
    6. Open Excel.

    I hope this information helps. If you have any more questions, don't hesitate to reach out. Wishing you good luck!

    Was this answer helpful?

    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.