Share via


Worksheet.MailEnvelope Property

Excel Developer Reference

Rrepresents an e-mail header for a document.

Syntax

expression.MailEnvelope

expression   A variable that represents a Worksheet object.

Example

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

Visual Basic for Applications
  Sub HeaderComments()
ActiveSheet.<strong>MailEnvelope</strong>.Introduction = "To Whom It May Concern: "

End Sub

See Also