PostItem.HTMLBody property (Outlook)

Returns or sets a String representing the HTML body of the specified item. Read/write.

Syntax

expression. HTMLBody

expression A variable that represents a PostItem object.

Remarks

The HTMLBody property should be an HTML syntax string.

Setting the HTMLBody property sets the EditorType property of the item's Inspector to olEditorHTML.

Setting the HTMLBody property will always update the Body property immediately.

See also

PostItem 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.