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: Newest
  1. Anonymous
    2022-10-06T22:35:15+00:00

    I wish I could buy you a beer, Ryno. Worked like a charm.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-10-03T06:40:40+00:00

    I think this should be the official answer on the first page.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-10-01T15:40:47+00:00

    I know its many weeks later than when this was asked, but I just hit this problem myself.

    What worked for me was the internet properties : security tab : trusted sites : then adding 'https://d.docs.live.net' as a trusted site. Then I enabled trusted sites in excel and it seemed to work.

    I have no idea why, but it works now, but I am not very tech savvy so I don't know if it will work for you.

    Hi Everyone...

    This is the solution. It works.

    You can now run macros in files saved on Onedrive with this fix.

    Thanks.

    Agreed - I am so relieved! This solution works perfectly for excel macro files sourced in OneDrive!

    Thanks everyone.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-09-29T16:01:10+00:00

    I agree about OneDrive. I prepare sensitive documents that I don't want to share with Microsoft and have deleted sync with OneDrive but every Windows update reinstalls it and also messes with my documents view. Will not use Microsoft 365 but it seems they are forcing our hand. Ugh!

    Was this answer helpful?

    0 comments No comments