ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Digitally sign VBA Project at run time (https://www.excelbanter.com/excel-programming/319659-digitally-sign-vba-project-run-time.html)

Sharad Naik

Digitally sign VBA Project at run time
 
During run time, I copy a sheet save it as a new workbook and mail it. The
sheet has macros in the Sheet class.
The parent workbook code is digitally signed.

Is it possible to digitally sign at run time? how?
Thanks
Sharad



Stephen Bullen[_4_]

Digitally sign VBA Project at run time
 
Hi Sharad,

During run time, I copy a sheet save it as a new workbook and mail it. The
sheet has macros in the Sheet class.
The parent workbook code is digitally signed.

Is it possible to digitally sign at run time? how?


One method is to start off with an empty workbook template, containing a
digitally signed project. Then instead of copying the sheet to a new workbook,
create a new copy of the template file and copy it to that.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk



Sharad Naik

Digitally sign VBA Project at run time
 
Thanks Stephan,
Looks like this will be the solution for me.

Sharad

"Stephen Bullen" wrote in message
...
Hi Sharad,

During run time, I copy a sheet save it as a new workbook and mail it.
The
sheet has macros in the Sheet class.
The parent workbook code is digitally signed.

Is it possible to digitally sign at run time? how?


One method is to start off with an empty workbook template, containing a
digitally signed project. Then instead of copying the sheet to a new
workbook,
create a new copy of the template file and copy it to that.

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk






All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com