MailEnvelope Property

Microsoft Excel Visual Basic

MailEnvelope Property

       

Rrepresents an e-mail header for a document.

expression.MailEnvelope

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the comments for the header of the active worksheet.

Sub HeaderComments()

    ActiveSheet.MailEnvelope.Introduction = "To Whom It May Concern: "

End Sub