EmailSignatureEntry Object

Microsoft Word Visual Basic

EmailSignatureEntry Object

         
EmailSignatureEntries EmailSignatureEntry

Represents a single e-mail signature entry. The EmailSignatureEntry object is a member of the EmailSignatureEntries collection. The EmailSignatureEntries collection contains all the e-mail signature entries available to Word.

Using the EmailSignatureEntry object

Use EmailSignatureEntries(index), where index is the e-mail signature entry name or item number, to return a single EmailSignatureEntry object. You must match exactly the spelling (but not necessarily the capitalization) of the name. The following example uses the Delete method to delete the signature entry named "Jeff Smith."

Sub DeleteSignature()
    Application.EmailOptions.EmailSignature _
        .EmailSignatureEntries("jeff smith").Delete
End Sub