EmailTemplate 属性

       

返回或设置一个 String 类型的数值,表示发送电子邮件时使用的文档模板。可读写。

expression.EmailTemplate

expression   必需。该表达式返回一个 Application 对象。

说明

如果在 Microsoft Outlook 中指定 Microsoft Word 为电子邮件编辑器,可使用 EmailTemplate 属性。

示例

本示例设置 Word 对所有的新电子邮件使用名为“Email”的模板。本示例假定有一个名为“Email”的模板保存于默认的模板位置。

Sub MessageTemplate()
    Application.EmailTemplate = "Email"
End Sub