Share via


Chart.ChartTitle Property (Word)

Returns the title of the specified chart. Read-only ChartTitle.

Version Information

Version Added: Word 2007

Syntax

expression .ChartTitle

expression A variable that represents a Chart object.

Remarks

The ChartTitle object does not exist and cannot be used unless the HasTitle property for the chart is True.

Example

The following example sets the text for the title of the first chart.

With ActiveDocument.InlineShapes(1).Chart 
 .HasTitle = True 
 .ChartTitle.Text = "First Quarter Sales" 
End With

See Also

Concepts

Chart Object Members

Chart Object