property Items.CellCaptionFormat([Item as Variant], [ColIndex as Variant]) as CaptionFormatEnum
Specifies how the cell's caption is displayed.

TypeDescription
Item as Variant A long expression that indicates the item's handle.
ColIndex as Variant A long expression that indicates the column's index or cell's handle, or a string expression that specifies the column's caption
CaptionFormatEnum A CaptionFormatEnum expression that defines the way how the cell's caption is displayed.

The component supports built-in HTML format. That means that you can use HTML tags when displays the cell's caption . By default, the CellCaptionFormat property is exText. If the CellCaptionFormat is exText, the cell displays the CellCaption property like it is. If the CellCaptionFormat is exHTML, the cell displays the CellCaption property using the HTML tags specified in the CaptionFormatEnum type.