Chart.ChartTitle property (PowerPoint)

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


expression. ChartTitle

expression A variable that represents a Chart object.


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



Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

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

Chart Object

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.