VBA Signature

tonelm54 used Ask the Experts™
Im trying to sign some VBA code, and although my certificate in the certificate store says I can use it for code:-
When I try and use the signature in VBA through Access or Excel, I get the error:-
Any ideas what Im doing wrong, or how I need to sign the certificate properly?

Thank you
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
is your cert in pfx format?
Professor JMicrosoft Excel Expert
Top Expert 2014
you need to find the location of "Digital Certificate for VBA Projects"

usually it is located in inside Microsoft Office Tools. to access Microsoft Office Tools
the Click the Start button, point to All Programs, click Microsoft Office, click Microsoft Office Tools, and then click Digital Certificate for VBA Projects. In the Your certificate's name box

once you found Digital Certificate for VBA Projects

open it, and a small box will open. type a descriptive name for the certificate.  for example your name and click ok. see the screenshot below
then go back to VBE editor and there you will no loger see the error. click ok choose and you wil find your name as digital certificate. select it and click ok and thats it. to read more click here


That fixes it, thought the import was just an import, didnt matter what format it was in. But this worked. Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial