Underline property (Excel Graph)

Returns or sets the type of underline applied to the font. Required XlUnderlineStyle.

Syntax

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 a single underline.

myChart.ChartTitle.Font.Underline = xlUnderlineStyleSingle

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.