Caption property (Excel Graph)
Returns or sets the title text for the object. Read/write String.
expression.Caption
expression Required. An expression that returns one of the objects in the Applies To list.
This example adds the title Annual Salary Figures to the chart.
myChart.HasTitle = True
myChart.ChartTitle.Caption = "Annual Salary Figures"
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.