Application.EmailTemplate Property

Word Developer Reference

Returns or sets a String that represents the document template to use when sending e-mail messages. Read/write.

Syntax

expression.EmailTemplate

expression   An expression that returns an Application object.

Remarks

Use the EmailTemplate property when Microsoft Word is specified as your e-mail editor, which you must do inside Microsoft Outlook.

Example

This example instructs Word to use the template named "Email" for all new e-mail messages. This example assumes that you have a template named "Email" and that it is stored in the default template location.

Visual Basic for Applications
  Sub MessageTemplate()
    Application.EmailTemplate = "Email"
End Sub

See Also