Forum Discussion
Word Blocked Macros
Hola guifernandes1607 no replies sofar. That's worrying.
Same problem here, except we use a Microsoft Access application instead of Protheus. It was all working without problems for at least 3 years until the 1st of September 2022. Our invoices are generated from Access using a Word template on a local PC and a Word macro on the same local PC. No Internet, no Intranet, no network shares.
The PC has “Microsoft Office Professional Plus 2021” installed. I read that Microsoft would prevent execution of macros originating from the Internet in this version as from September 2022.
Nevertheless our local macro (embedded in Normal.dotm) was blocked with the same error messageyou got :
“Microsoft Office has identified a potential security issue. Microsoft has blocked macros from running because the source of this file is not trusted. File Path:
C:\Users\(username)\AppData\Local\Microsoft\Windows\INetCache\Content.Word\~WRC????.tmp”
We tried everything you tried:
-add template folder to trusted locations
-add destination folder to trusted locations
-add C:\Users\......\INetCache\Content.Word” to trusted locations (not allowed)
-enable all macros (not recommended).
To no avail.
Apparently their latest update wasn’t tested very well. ;-((.
Please let me know, when you find a sulution.