This documentation is archived and is not being maintained.

_Chart.ChartObjects Method

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Object ChartObjects(
	Object Index


Type: System.Object

Optional Object. The name or number of the chart. This argument can be an array to specify more than one chart.

Return Value

Type: System.Object

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.