EmailSignatureEntries Property

Microsoft Word Visual Basic

EmailSignatureEntries Property

       

Returns an EmailSignatureEntries object that represents the e-mail signature entries in Microsoft Word. Read-only.

expression.EmailSignatureEntries

expression   Required. An expression that returns an EmailSignature object.

Remarks

An e-mail signature is standard text that ends an e-mail message, such as your name and telephone number. Use the EmailSignatureEntries property to create and manage a collection of e-mail signatures that Word will use when creating e-mail messages.

Example

This example creates a new signature entry based on the author's name and the selection in the active document.

Sub NewSignature()
    Application.EmailOptions.EmailSignature _
        .EmailSignatureEntries.Add _
        Name:=ActiveDocument.BuiltInDocumentProperties("Author"), _
        Range:=Selection.Range
End Sub