Edit

Share via


Email object (Word)

Represents an email message.

Remarks

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 email message.

This example displays the name of the style associated with the current email author.

MsgBox ActiveDocument.Email _ 
 .CurrentEmailAuthor.Style.NameLocal

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

Note

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

See also

Word Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.