Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ril ril is offline
external usenet poster
 
Posts: 2
Default Adding digital signature programmatically

Hi,
I have an application, developed in Delphi 6 using the Excel97 type
library, which creates excel workbooks dynamically.
I have to add digital signature to the macros that are added to these
workbooks and I noticed that this could be done manually in the VB
Editor for a whole VBA project.

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)?

I am neither a VB, nor a security expert, so any hint will be greatly
appreciated, thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
ril ril is offline
external usenet poster
 
Posts: 2
Default Adding digital signature programmatically

Thanks a lot, Stephen,

Your suggestion is what I actually resorted to doing.
It works well with Excel 2002, but Office 2003 seems to have different
ways of managing the stuff, as I can't seem to produce signed
workbooks on a machine with Excel 2003.

Still trying to find a way around that. If anyone has had a similar
problem, I'll be interested in hearing how you coped with it.

Thanks,
RIL
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Signature padjo Excel Discussion (Misc queries) 4 June 13th 11 07:29 AM
Digital Signature Sandy Mann Excel Discussion (Misc queries) 5 January 11th 06 11:58 PM
Digital Signature Jessie[_3_] Excel Programming 1 January 7th 04 10:03 PM
Digital Signature Soniya Excel Programming 1 October 6th 03 01:22 PM
Digital Signature Robert[_12_] Excel Programming 0 August 28th 03 05:58 PM


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"