Edit

Share via


_Chart.ChartObjects(Object) Method

Definition

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.

Applies to