Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Digital signatures in Excel 2003 workbook | Excel Discussion (Misc queries) | |||
Digital signatures in Excel | Excel Worksheet Functions | |||
Can I insert digital signatures into an Excel cell? | Excel Discussion (Misc queries) | |||
Digital Signatures for Excel 97 Macros? | Excel Programming | |||
Cleaning up excel & Digital signatures | Excel Programming |