This documentation is archived and is not being maintained.

ChartObjects Interface 

A collection of all the ChartObject objects on the specified chart sheet, dialog sheet, or worksheet.

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

Public Class hartObjectsImplementation
	Implements ChartObjects
End Class
Dim hartObjectsImplementation1 As New hartObjectsImplementation()

public interface ChartObjects
public interface ChartObjects
public interface ChartObjects

Each ChartObject object represents an embedded chart. The ChartObject object acts as a container for a Chart object. Properties and methods for the ChartObject object control the appearance and size of the embedded chart on the sheet.

Use the ChartObjects method to return the ChartObjects collection. Use the Add method to create a new, empty embedded chart and add it to the collection. Use the ChartWizard method to add data and format the new chart.

Use ChartObjects(index), where index is the embedded chart index number or name, to return a single ChartObject object.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms