Share via


EmailSignatureEntries.Add Method (Word)

Returns an EmailSignatureEntry object that represents a new e-mail 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 e-mail entry.

Range

Required

Range

The range in the document that will be added as the signature.

Return Value

EmailSignatureEntry

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 Microsoft Word will use when creating e-mail 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

Concepts

EmailSignatureEntries Collection

EmailSignatureEntries Object Members