+ Reply to Thread
Results 1 to 7 of 7

Adding digital signature to macros and VBA

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Adding digital signature to macros and VBA

    Hi Guys,

    i was looking for solution to find the best way to add digital signature to workbook macros.
    And i failed.

    How to do it propely? Goal is to see if anybody has changed my code after final version ...?

    It is possible at all?

    Please help,
    Best,
    Jacek

  2. #2
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Adding digital signature to macros and VBA

    Hi,

    anyone?

    Jacek

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,400

    Re: Adding digital signature to macros and VBA

    .
    https://support.microsoft.com/en-us/...rkbooks-in-exc

    https://support.office.com/en-us/art...a-98505ecd1c01

    https://bettersolutions.com/vba/macr...signatures.htm

  4. #4
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Adding digital signature to macros and VBA

    Hi,

    i saw these links. and this is not working. This is why i asked here...

    I added signature to sample workbook and you can not edit it if you want to leave signature untouched. this is ok.

    When i am trying to sign VBA module, there is:

    Screenshot_4.png

    Please help,
    Jacek
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Adding digital signature to macros and VBA

    Ok i added signature using this link:

    https://www.howto-outlook.com/howto/selfcert.htm

    But...nothing changed. I turned on option :

    File-> Options-> Trust Center-> Trust Center Settings…-> Macro Settings-> option: Notifications for digitally signed macros, all other macros disabled
    How to track if any changes are done by other users to my code?
    What if other users will have security set to low?

    Best,
    Jacek

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,400

    Re: Adding digital signature to macros and VBA

    .
    How to track if any changes are done by other users to my code?
    From what I understand about Digital Certificates ... you won't know. There is no "auto notification" built in.
    Again, from my understanding, the Digital Certificate doesn't protect your work ... it merely provides a formal notice
    to the user they can trust your code will not do harm to their machine.

    You question implies you are seeking a form of protection for your code - to "hide it" or prevent others from accessing the code for their own use ?
    If this is the goal, understand that Excel is not designed to be very secure in that manner. In fact, Excel truly has no protection. There are tons
    of examples on the internet how to by-pass Excel's built-in security. And for the commercial products that charge hundreds of dollars for a product
    that advertises security and protection .... there are examples on the internet how to circumvent those protections as well.

    ???

  7. #7
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,946

    Re: Adding digital signature to macros and VBA

    Hi Logit,

    oo thank you very much.
    Hmm this is not good that Excel is not secure at all. You can add only password and this is easy to break...

    Best,
    Jacek

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I need help with a Digital Signature macros
    By miquele506 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-16-2017, 12:33 PM
  2. Adding a digital signature
    By vixim in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 06-17-2014, 03:17 PM
  3. [SOLVED] The macros in this file do not match the digital signature.
    By Reto Laemmler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2006, 02:45 PM
  4. set up Digital signature
    By David Overington in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-16-2006, 12:10 AM
  5. Digital Signature
    By Sandy Mann in forum Excel General
    Replies: 5
    Last Post: 01-11-2006, 08:10 PM
  6. [SOLVED] Digital signature
    By TLS in forum Excel General
    Replies: 0
    Last Post: 06-04-2005, 02:05 AM
  7. Adding Sheet Invalidates Digital Signature
    By Simon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-06-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1