EmailSignatureEntries Collection

Word Developer Reference

A collection of EmailSignatureEntry objects that represents all the e-mail signature entries available to Word.

Remarks

Use the EmailSignatureEntries property to return the EmailSignatureEntries collection. Use the Add method of the EmailSignatureEntries object to add an e-mail signature to Word. The following example creates a new e-mail signature entry based on the author's name and a selection in the active document, and then it sets the new signature entry as the default e-mail signature to use for new messages.

Visual Basic for Applications
  Sub NewEmailSignature()
    With Application.EmailOptions.EmailSignature
        .EmailSignatureEntries.Add "Jeff Smith", Selection.Range
        .NewMessageSignature = "Jeff Smith"
    End With
End Sub

See Also