Muokkaa

Jaa


Document.MailEnvelope property (Word)

Returns an MsoEnvelope object that represents an email header for a document.

Syntax

expression.MailEnvelope

expression An expression that returns a Document object.

Example

This example sets the comments for the email header of the active document.

Sub HeaderComments() 
 
 ActiveDocument.MailEnvelope.Introduction = _ 
 "Please review this document and let me know " & _ 
 "what you think. I need your input by Friday." & _ 
 " Thanks." 
 
End Sub

See also

Document Object

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.