VBA/ Macro blocked on network drive

Carlo_Batenb 11 Reputation points
2022-06-23T13:09:51.037+00:00

Good day all,

It seems that the rollout to block macros by default by Microsoft has reached me.

microsoft's article: https://support.microsoft.com/en-us/topic/a-potentially-dangerous-macro-has-been-blocked-0952faa0-37e7-4316-b61d-5b5ed6024216 is giving a simple solution to unblock this.

However, we do not have this option. The files are in a network location (and preferably will remain that way. By the way, the macros are working on a local disk)
I have tried to add this location as a trusted location in Excel, only this is not allowed: ("The path you entered cannot be used as a trusted location for security reasons"). I have tried (using other forums) to enter a UNC location instead of the ip - address or disk location, but to no avail. (The function/ checkbox; Allow trusted locations in my network is on)

Is there a work-around or is this the definitive end of VBA's on a network?
Thanks in advance for your help!

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Excel | For business | Windows
Developer technologies | Visual Basic for Applications
0 comments No comments

6 answers

Sort by: Newest
  1. John Korchok 236.6K Reputation points Volunteer Moderator
    2022-06-23T14:55:36.787+00:00

    Using a UNC path is the solution. You only wrote "tried (using other forums) to enter a UNC location instead of the ip - address or disk location, but to no avail". What problem did you have trying to do this?

    Was this answer helpful?


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.