Share via

MY access software has blocked me off macros

Sneha Gorania 0 Reputation points
2026-03-12T16:32:11.82+00:00

i am trying to work on microsoft access but it is blocking me from saving anything as it says my macros are affected. how do i unblock it?

Microsoft 365 and Office | Access | For business | Windows

2 answers

Sort by: Most helpful
  1. DBG 11,711 Reputation points Volunteer Moderator
    2026-03-12T16:36:24.9066667+00:00

    Can you post a screenshot of the error message?

    0 comments No comments

  2. Q&A Assist
    2026-03-12T16:32:53.4766667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    In Access, macros and other potentially unsafe expressions are blocked unless the database is trusted. To unblock them and allow saving/using macros, use one of these supported approaches:

    1. Move or set the database as trusted
    • Place the database file in a trusted location (for example, a folder that Access/Office is configured to trust), or
    • Ensure the database has a valid trust signature.

    If the database is not trusted, Access runs it in sandbox mode, which blocks potentially unsafe expressions and can prevent macros from working correctly.

    1. Check for Mark of the Web (if the file came from the internet or email) If the Access file was downloaded or received via email, it may be marked as coming from the internet, which blocks macros by default.

    To unblock the file on Windows:

    1. Save the database file to a local drive (or OneDrive).
    2. In File Explorer, right‑click the file and choose Properties.
    3. On the General tab, if there is a Security section with an Unblock checkbox, select Unblock.
    4. Select OK, then reopen the database in Access and test saving/running macros again.

    Alternatively, an administrator can remove the Mark of the Web using PowerShell’s Unblock-File cmdlet, which removes the ZoneId and allows macros to run by default.

    1. Use policies/Trust Center settings (admin-controlled) If this is a business/managed device, an admin may have policies that block macros from the internet or untrusted locations. In that case, an admin can:
    • Keep the recommended policy that blocks macros from the internet, but
    • Ensure users place Access databases with macros in trusted locations or sign them so they are treated as trusted databases.

    If macros are blocked because of Mark of the Web and policy is set to block, users must either:

    • Remove Mark of the Web (Unblock on file Properties), or
    • Have the admin adjust macro policies and trusted locations.

    If the database remains untrusted, Access will continue to use sandbox mode and block unsafe expressions and macros.


    References:

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.