ChartTitle object (Word)
Represents the chart title.
Use the ChartTitle property to return the ChartTitle object.
The ChartTitle object does not exist and cannot be used unless the HasTitle property for the chart is True.
The following example adds a title to embedded chart one on the worksheet named Sheet1.
With ActiveDocument.InlineShapes(1).Chart
.HasTitle = True
.ChartTitle.Text = "February Sales"
End With
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.