Document.Email Property

Word Developer Reference

Returns an Email object that contains all the e-mail–related properties of the current document. Read-only.

Syntax

expression.Email

expression   A variable that represents a Document object.

Example

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

Visual Basic for Applications
  MsgBox ActiveDocument.Email _
    .CurrentEmailAuthor.Style.NameLocal

See Also