none
Programmatically adding a digital certificate to VBA code RRS feed

  • Question

  • My VB6 application (.EXE) creates an Excel workbook (.XLSM), then adds VBA code to the workbook.  The new workbook continues to be used independent from the VB6 application.  Corporate policy now requires all macros to be signed.  I want to modify the VB6 application to digitally sign the workbook when created.

    Can the digital certificate be embedded in the VB6 application, usable only for the workbook created by the VB6 application?  If this is not possible using VB6, could I achieve this using .NET?  Any suggestions on how to proceed?

    best regards,
    Gary


    Monday, July 31, 2017 8:21 AM

All replies