EmailSignatureEntries.Add method (Word)

Returns an EmailSignatureEntry object that represents a new email signature entry.

Syntax

expression.Add (Name, Range)

expression Required. A variable that represents an 'EmailSignatureEntries' collection.

Parameters

Name Required/Optional Data type Description
Name Required String The name of the email entry.
Range Required Range The range in the document that will be added as the signature.

Return value

EmailSignatureEntry

Remarks

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

Example

This example adds an automatically numbered footnote at the end of the selection.

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

See also

EmailSignatureEntries Collection

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.