Underline Property

Microsoft Graph Visual Basic

XlUnderlineStyle can be one of these XlUnderlineStyle constants.
xlUnderlineStyleNone
xlUnderlineStyleSingle

xlUnderlineStyleDouble

xlUnderlineStyleSingleAccounting

xlUnderlineStyleDoubleAccounting

expression.Underline

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

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

myChart.ChartTitle.Font.Underline = xlUnderlineStyleSingle