Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default digital signatures in Excel

Hi,
I am looking for information to apply digital signatures to a .xls
document from VB. I saw how to do it in a Word document:

Set wordapp = CreateObject("Word.Application")
Set worddoc = wordapp.Documents.Open(docu)
wordapp.Visible = True
Set sig = worddoc.Signatures.Add

In Excel it must be similar using Excel objects instead of Word, but it
fails. Can anybody help me?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default digital signatures in Excel


Thanks, but I need to do it programmatically from VB.NET. :-(
Thanks anyway




"JLGWhiz" escribió en el mensaje
...
This is from Excel Help:

In Microsoft Windows XP, on the Windows Start menu, point to All Programs,
point to Microsoft Office Tools, and then click Digital Certificate for
VBA
Projects. In Microsoft Windows 2000, on the Windows Start menu, point to
Programs, point to Microsoft Office Tools, and then click Digital
Certificate
for VBA Projects.

"Santi" wrote:

Hi,
I am looking for information to apply digital signatures to a .xls
document from VB. I saw how to do it in a Word document:

Set wordapp = CreateObject("Word.Application")
Set worddoc = wordapp.Documents.Open(docu)
wordapp.Visible = True
Set sig = worddoc.Signatures.Add

In Excel it must be similar using Excel objects instead of Word, but it
fails. Can anybody help me?

Thanks





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default digital signatures in Excel

Yes, when you gave me that solution I tried it, but the result is the same
:-(
Any other idea?
Thanks




"Tom Ogilvy" escribió en el mensaje
...
Are you sure it isn't signatureset rather than signature?

--
Regards,
Tom Ogilvy


"Santi" wrote:

Hi,
I am looking for information to apply digital signatures to a .xls
document from VB. I saw how to do it in a Word document:

Set wordapp = CreateObject("Word.Application")
Set worddoc = wordapp.Documents.Open(docu)
wordapp.Visible = True
Set sig = worddoc.Signatures.Add

In Excel it must be similar using Excel objects instead of Word, but it
fails. Can anybody help me?

Thanks





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default digital signatures in Excel

Santi,
The Office Help on the AttachCertificate Property only mentions Word and it
does not appear that Excel has a corresponding Signatures collection.
In Excel (2002 anyway), you cannot sign the workbook, only the VBA code,
which you cannot access by code AFAIK.

Also, the Help is somewhat confusing on this, indicating it for emails
signatures and digital signatures, which are 2 unrelated aspect, to me.
<From Help
Add method as it applies to the SignatureSet object.
Returns a Signature object that represents a new e-mail signature.
</From Help
I suppose this what appears in the WordOptionsGeneralEmail OptionsEmail
Signature

And also

<From Help
SignatureSet Collection
A collection of Signature objects that correspond to the digital signatures
attached to a document.
</From Help
Not sure what this is supposed to represent in Word.

The only related object in Excel is the VBASigned Property:

<From Help
True if the Visual Basic for Applications project for the specified workbook
has been digitally signed. Read-only Boolean.

</From Help

Good luck, but I don't think you can achieve your aim, although it is highly
likely I'm missing something.

NickHK

"Tom Ogilvy" wrote in message
...
Are you sure it isn't signatureset rather than signature?

--
Regards,
Tom Ogilvy


"Santi" wrote:

Hi,
I am looking for information to apply digital signatures to a

..xls
document from VB. I saw how to do it in a Word document:

Set wordapp = CreateObject("Word.Application")
Set worddoc = wordapp.Documents.Open(docu)
wordapp.Visible = True
Set sig = worddoc.Signatures.Add

In Excel it must be similar using Excel objects instead of Word, but it
fails. Can anybody help me?

Thanks





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 signatures in Excel 2003 workbook AngeloG Excel Discussion (Misc queries) 0 May 27th 08 08:38 PM
Digital signatures in Excel Santi Excel Worksheet Functions 2 January 2nd 07 02:19 PM
Can I insert digital signatures into an Excel cell? DrewAtNucorUtah Excel Discussion (Misc queries) 1 December 15th 04 06:00 PM
Digital Signatures for Excel 97 Macros? Dick Excel Programming 2 November 24th 03 02:35 AM
Cleaning up excel & Digital signatures Christof DB Excel Programming 2 November 14th 03 12:54 PM


All times are GMT +1. The time now is 06:25 AM.

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

About Us

"It's about Microsoft Excel"