how to unblock macros

MOHAMED SHANO 0 Reputation points
2026-06-25T08:12:36.7666667+00:00

i have difficulties in unblocking macros when using excel

Microsoft 365 and Office | Excel | For home | Other
0 comments No comments

2 answers

Sort by: Most helpful
  1. Sumit D - IA 172.7K Reputation points Independent Advisor
    2026-06-25T08:49:42.1266667+00:00

    Hi,

    #1:

    Please select the file > Press ALT+Enter to open Properties.

    Click the General tab > Unblock the file.

    #2: Safer option:

    1. Open Excel and click on File, then select Options at the bottom left.
    2. Click on Trust Center in the left-hand menu.
    3. Click the Trust Center Settings button.
    4. Select Trusted Locations from the left panel.
    5. Click Add new location at the bottom.
    6. Click Browse to find and select the folder where you want to save your safe macro files.
    7. Click OK on all the open dialog boxes to save your changes.

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

    Otherwise, if your problem is resolved, please take a moment to rate the answer. Wishing you good luck!

    Was this answer helpful?

    0 comments No comments

  2. Senthil kumar 1,640 Reputation points
    2026-06-25T08:39:48.68+00:00

    Hi @MOHAMED SHANO

    1.

    Right‑click the Excel file

    Choose Properties

    At the bottom, check if you see:

    “This file came from another computer and might be blocked”

    Click Unblock

    Click Apply → OK

    Reopen Excel

    2.

    Open Excel → File → Options → Trust Center → Trust Center Settings → Macro Settings

    Choose:

    Enable VBA macros

    Trust access to the VBA project object model

    Thanks.

    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.