Email Object (Word)

Represents an e-mail message.

Use the Email property to return the Email object. The Email object and its properties are valid only if the active document is an unsent forward, reply, or new e-mail message.

This example displays the name of the style associated with the current e-mail author.

MsgBox ActiveDocument.Email _ 
 .CurrentEmailAuthor.Style.NameLocal

The author style name is the same as the value returned by the UserName property.

Note Note

There is no Emails collection; each Document object contains only one Email object.

Show:
© 2015 Microsoft