View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Stephen Bullen[_4_] Stephen Bullen[_4_] is offline
external usenet poster
 
Posts: 205
Default Adding digital signature programmatically

Hi Ril,

Is there a way to have my macros digitally signed programmatically
(i.e. at the point when the workbook is being created by the Delphi
code)?


One way is to start with an empty, signed, workbook, then provide the
name of that workbook to the Workbooks.Add method. You can then add
code to that workbook and save it, keeping the signature.

Regards

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