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. If the CellCaptionFormat property is exComputedField, the CellCaption property indicates the formula to calculate the cell, based on the other cells. Use the Def property to specify that all cells in the column display HTML format. Use ItemBold, ItemItalic, ItemUnderline or ItemStrikeOut property to apply different font attributes to the item. Use the CellItalic, CellUnderline, CellBold or CellStrikeOut property to apply different font attributes to the cell. Use the FormatColumn property to format the column.