How to add a digital certificate to multiple Excel files

Alasdair Kirby 0 Reputation points
2023-03-24T09:57:20.2+00:00

We have a large number of existing xlsm files that need to be digitally signed with our certificate that was created for code signing on our domain. Is there a way around of having to open each individual file to manually add the digital certifcate? We'd also like to password protect the viewing of the code automatically as well.

Microsoft 365 and Office Development Other
Microsoft 365 and Office Excel For business Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Hua-MSFT 27,796 Reputation points
    2023-03-27T07:07:40.4566667+00:00

    Hi @Alasdair Kirby

    This request need the help of code or add-in. To help you better, I suggest you post new threads on other forums of the link:

    https://developer.microsoft.com/en-us/excel#excelcommunity

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Here are 2 links I find online, you may have a look.

    how to sign a digital signature on multiple Excel files?

    How to write VBA Code to add Digital Signature to protect VBAProject?

    (Please Note: Since the web site is not hosted by Microsoft, the link may changed without notice. Microsoft does not guarantee the accuracy of this information.)


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.