Export (0) Print
Expand All
Expand Minimize

Document.MailEnvelope Property

Office 2007
Returns an MsoEnvelope object that represents an e-mail header for a document.

Syntax

expression.MailEnvelope

expression   An expression that returns a Document object.

Example

This example sets the comments for the e-mail header of the active document.

Visual Basic for Applications
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



Community Additions

ADD
Show:
© 2014 Microsoft