EmailAuthor Object

Word Developer Reference

Represents the author of an e-mail message.

Remarks

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

This example returns the style associated with the current author for unsent replies, forwards, or new e-mail messages, and displays the name of the font associated with this style.

Visual Basic for Applications
  Set MyEmailStyle = _
    ActiveDocument.Email.CurrentEmailAuthor.Style
Msgbox MyEmailStyle.Font.Name
Bb179088.vs_note(en-us,office.12).gif  Note
There is no EmailAuthors collection; each Email object contains only one EmailAuthor object.

See Also