Forum Discussion
macros are bloqued in word
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.
- jdvelez1Sep 10, 2022Copper 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
- Sep 11, 2022Can 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.- jdvelez1Sep 11, 2022Copper Contributorthanks for your help
if i open a word document the macros are fine, but i use a old software to create a word documents, the first one created with the program is fine, my macros work ok, but in the second created document with the same software the macros are bloked...
my macrtos are to paste a image using a single click in word