Worksheet.MailEnvelope Property (Excel)

Rrepresents an e-mail header for a document.

expression .MailEnvelope

expression A variable that represents a Worksheet object.

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

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