_Chart.ChartObjects(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an object that represents either a single embedded chart (a ChartObject object) or a collection of all the embedded charts (a ChartObjects object) on the sheet.
public object ChartObjects (object Index);
Public Function ChartObjects (Optional Index As Object) As Object
Parameters
- Index
- Object
Optional Object. The name or number of the chart. This argument can be an array to specify more than one chart.
Returns
Remarks
This method isn't equivalent to the Charts property. This method returns embedded charts; the Charts property returns chart sheets. Use the Chart property to return the Chart object for an embedded chart.