Unable to run Macros. How do I fix this?

Savitri 20 Reputation points
2024-08-25T18:59:50.5266667+00:00

I am unable to run any macros on any of my excel files. I've tried changing the properties of the file to unblock macros. I've also made sure that macros are enabled under macro security. But nothing works! Would anyone know of a way to fix this issue?

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Excel | For business | Windows
Windows for business | Windows Server | User experience | Other
Microsoft System Center | Other
{count} votes

Accepted answer
  1. Jiajing Hua 18,065 Reputation points Moderator
    2024-08-26T06:23:14.78+00:00

    Hi @Savitri

    Could you please tell us which version of Office are you using now?

    I am unable to run any macros on any of my excel files.

    Do you mean this issue occurs with macro in local new created workbook?

    Where are your workbooks saved?

    Is there any error message or error code when you run macros?

    If macros from the internet are blocked, please refer to this article: https://learn.microsoft.com/en-us/microsoft-365-apps/security/internet-macros-blocked

    If macros from local are blocked either, I suggest you repair Office from Control Panel for a check.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Tom van Stiphout 1,861 Reputation points MVP Volunteer Moderator
    2024-08-25T19:34:04.9633333+00:00

    Put the file in a Trusted Location, or add the current folder to the Trusted Locations.
    File > Options > Trust Center > Trust Center Settings > Trusted Locations.

    1 person found this answer helpful.
    0 comments No comments

Your answer

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