ChartObject.Chart property (Excel)
Returns a Chart object that represents the chart contained in the object. Read-only.
Syntax
expression.Chart
expression A variable that represents a ChartObject object.
Example
This example adds a title to the first embedded chart on Sheet1.
With Worksheets("Sheet1").ChartObjects(1).Chart
.HasTitle = True
.ChartTitle.Text = "1995 Rainfall Totals by Month"
End With
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.