MailEnvelope Property

Microsoft Excel Visual Basic

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