Microsoft has blocked macros from running

Anonymous
2022-06-08T03:54:07+00:00

Hello All,

you might know that " Microsoft has blocked Macros from running through internet" do we have any permanent solution on this?

I have tried the below solution which doesn't work.

  1. Save the file to a local hard drive, network share, or cloud share like OneDrive.
  2. Open Windows File Explorer and go to the folder where you saved the file.
  3. Right-click the file and choose Properties from the context menu.
  4. At the bottom of the General tab, you should see a section for Security. Select the Unblock checkbox and select OK.

Also, tried to enable Macros through Macros settings through Trust center but didn't work?

is there any permanent solution on this?

Thanks,

AMit

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2022-06-17T08:05:21+00:00

Hi,

I think I found a solution to my problem.

The solution is to re-map the network drive to the fileserver name first and then adding that mapped directory to the trusted locations in excel.

Mapped Location:

\fileserver\networkdirectory and not \[192.xxx.xxx.xxx]\networkdirectory

Hope it helps someone out there.

Regards,

Ryno

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

112 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-06-30T17:34:57+00:00

    Hello All,

    you might know that " Microsoft has blocked Macros from running through internet" do we have any permanent solution on this?

    I have tried the below solution which doesn't work.

    1. Save the file to a local hard drive, network share, or cloud share like OneDrive.
    2. Open Windows File Explorer and go to the folder where you saved the file.
    3. Right-click the file and choose Properties from the context menu.
    4. At the bottom of the General tab, you should see a section for Security. Select the Unblock checkbox and select OK.

    Also, tried to enable Macros through Macros settings through Trust center but didn't work?

    is there any permanent solution on this?

    Thanks,

    AMit

    I was able to resolve this issue by disabling a custom add-in within Excel > File > Options > Add-ins

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-06-29T18:38:57+00:00

    This worked for one of our use cases.

    Would be better if we can utilize the properties -> trust check box instead on networked (NAS or otherwise) Access/Excel/Word files though.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-06-29T14:58:43+00:00

    adding trusted sites directly in excel won't work on its own. I had to got o the internet options and go through process i posted above in order to unblock the Macros permanently for all the employees that needed to access the Macros files form the server.

    Hope this helps you.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-06-29T12:29:58+00:00

    Well our company is using the Microsoft office 365 for business with the Excel version 2205.

    We normally download or open the desktop app from Share point and work on the Excel tool which has Macros/VBA in it.

    After downloading from share point to my local downloads folder or Company's one drive folder and unlocking the trust from Excel file properties and also enabling the "Enable all Macros option" from Trust settings in Excel, I cant even open the Excel file now .Excel just loads to 100 % and fails to open. Any advice would be appreciated.

    I eventually need everyone to open the SharePoint folder and work on the macro enabled Excel.

    Was this answer helpful?

    0 comments No comments