Underline Property

Applies To

Font object.

Description

Returns or sets the type of underline applied to the font. Can be one of the following XlUnderlineStyle constants: xlUnderlineStyleNone, xlUnderlineStyleSingle, xlUnderlineStyleDouble, xlUnderlineStyleSingleAccounting, or xlUnderlineStyleDoubleAccounting. Read/write Long.

Example

This example sets the font in the chart title to single underline.

myChart.ChartTitle.Font.Underline = xlUnderlineStyleSingle