Forum Discussion
jdvelez1
Sep 01, 2022Copper Contributor
macros are bloqued in word
since yesterday my macros in word are bloqued when I try to create a document for a software program : C:\Users\JDVELEZ\AppData\Local\Microsoft\Windows\INetCache
Please contact me at email address removed for privacy reasons. I will wait for you reply.
As posted by fellow MVP, Jay Freedman in another forum:
Microsoft has recently stepped up its campaign to block macros that install or act as malware, as described at https://docs.microsoft.com/en-us/DeployOffice/security/internet-macros-blocked . That article gives a long list of steps to take to make sure that you use only macros that you know are safe.
If the macros in your templates are ones that you wrote yourself, or that came from a source you know and trust, then the simplest way to prevent the Office security routines from blocking them is in a single bullet point about halfway down the page:
- If you're not using digital signatures, you can save the template file to a Trusted Location and have users get the template file from that location.
- jdvelez1Copper Contributor
hello, thanks for your answer
i have being using a very simple macros tha i have created..... like a botton to insert some text o image... but now are bloqued
i have changed in several ways the trust center options and now they work in a extrañe way... one document yes and the next no....
what can I do ??? this is important for my work
- Can you show us the code used ni the macros and where do you have them.
If the macros are required to be used on any document, they should be in a macro enabled template (*.dotm) file that is saved to:
C:\Users\JDVELEZ\AppData\Roaming\Microsoft\Word\Startup
If the macros are in a template from which the document is created, that should be saved in
C:\Users\JDVELEZ\AppData\Roaming\Microsoft\Templates
By default, both of those folders are Trusted Locations.