Created a macro and when I try to run it, it seems I need a digital signature. Is this true?
And why, if true?
Thank you
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Microsoft Office by version » Office 2019 for PC » Macros and digital signature Word
Tags: Macros Trusted Locations VBA Word
Veteran,
You just need to adjust some of your settings in the Trust Center.
File -> Options -> Trust Center -> Trust Center Settings…
Trusted Locations -> Add new location…
Use the browse button to add the location of your Word Document with the Macros.
My personal preference is to just add my Word directory (folder) and then check the Subfolders of this location are also trusted check box.
Note: you can also use the Trusted Documents vs Trusted Location if you just want to allow it for this one document. It’s a pain to add every document but it is better security. YMMV!
HTH 😎
My personal preference is to just add my Word directory (folder) and then check the Subfolders of this location are also trusted check box.
Note: you can also use the Trusted Documents vs Trusted Location if you just want to allow it for this one document. It’s a pain to add every document but it is better security.
Even better security would be to just sign the documents you want to trust.
Self-signing and trusting your own signature is possible, you just need to have the self-made certificate to compare the signature to on every computer you want it to apply on.
(Oh, sure, you could also set up your own certificate authority and then add that as a trusted authority to your PCs, if you really want to… all the necessary tools are free, all it takes is work.)
Thank you so very much. I have a problem…I tried to add new location of
C:\Users\Nan\Documents and get message it has already been added to my trusted locations.
But when I try to run the macro, I still get the message. Am embarrassed to say I can’t find path to Word to try to enter that in new location. Ugh.
Veteran,
The path to Word should be something like:
“C:Program Files (x86)\Microsoft Office\root\Office16\WINWORD.EXE”
The above is for Office 365. The easiest way to find your path to Word is to right click on your Word Shortcut, select properties, then on the Shortcut tab copy the value in the Target field.
However, you shouldn’t need need that is your trusted locations only the path to where the document containing the Macros (VBA) is stored, as per my example above.
In your screen shot I see that Sub-Folders is DISABLED. If your document is not in the main Documents folder this will not work.
Try finding your document in File Explorer then in the navigation bar right click and select “Copy address as text”
Now go to your trust center and add a new location to Trusted Locations and paste the value into the Path: box.
HTH :cheers:
Thank you both so much! I realized yesterday that I hadn’t checked sub-documents and, so far, I’m in business.
I did notice that the first time I ran the macro that the ‘busy’ wheel stayed on screen for what seemed a long time, but after that running the macro went smoothly.
Appreciate all your help
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2023 by AskWoody Tech LLC. All Rights Reserved.