H
Herve cadieu
Dear all,
i would like to know if there is a mean to sign programmatically some vba
macros embeded within a document so that the recipient will be prompted to
trust the project and allow the activation of the code even if the security
is set to High in his host application.
In fact I produce documents with a template and I embed some routines by
code to this document to offer extended functions to check digital signature
status of the document.
To achieve that I need to embed some routines in the document itself but
when opening on another computer the macros are disabled by default.
The solution should be to programmatically sign the VBA project before
applying the digital signature to the document itself so that both macros and
document are signed.
Anyone has an idea if it is possible ? I have cruised ver the VBIDE objects
but I cannot figure out how it could be done by code ? (if possible ?)
Thank you for your inputs
Best regards
i would like to know if there is a mean to sign programmatically some vba
macros embeded within a document so that the recipient will be prompted to
trust the project and allow the activation of the code even if the security
is set to High in his host application.
In fact I produce documents with a template and I embed some routines by
code to this document to offer extended functions to check digital signature
status of the document.
To achieve that I need to embed some routines in the document itself but
when opening on another computer the macros are disabled by default.
The solution should be to programmatically sign the VBA project before
applying the digital signature to the document itself so that both macros and
document are signed.
Anyone has an idea if it is possible ? I have cruised ver the VBIDE objects
but I cannot figure out how it could be done by code ? (if possible ?)
Thank you for your inputs
Best regards