Muokkaa

Jaa


Worksheet.MailEnvelope property (Excel)

Represents an email 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.

Sub HeaderComments() 
 
 ActiveSheet.MailEnvelope.Introduction = "To Whom It May Concern: " 
 
End Sub

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.