Q:

Check digital signatures on Word document

I've got an Excel document listing each Word document that must be send to our customers. These documents must be digitally signed before being sent and I've to check that every document is signed, thanks to VBA via the Excel document. I've found the Signature class and I'm able to have a Signature collection thanks to SignatureSet. But after that I'm lost, I'm only able to know how many signatures are present thanks to this part of code :
Set sigs = WordDoc.Signatures
MsgBox (sigs.Count)

But what I want is to have the name of each signatory to know who didn't sign the document. I saw that other classes as SignatureInfo or SignatureSetup exist but I can't figure how to use them.
I've already tried the ShowDetails method of the Signature class but it's not what I need because it opens a pop-up in the Word document.

A:

If someone has this problem one day, I post here the solution.
Sub Test()

    Dim AppWord As Word.Application
    Dim Doc As Word.Document
    Dim Info As SignatureInfo

    Set AppWord = New Word.Application
    AppWord.Visible = True

    Set Doc = AppWord.Documents.Open("C:\MonDocument.doc")

    Set Info = Doc.Signatures(1).Details

    MsgBox Info.SignatureText

End Sub

