MailMessage.ToggleHeader method (Word)

Toggles the display of the header in the active email message.

Syntax

expression. ToggleHeader

expression Required. A variable that represents a 'MailMessage' object.

Example

This example switches the display of the header in the active email message on or off.

Application.MailMessage.ToggleHeader

See also

MailMessage Object

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.