ChartView Object

Excel Developer Reference

Represents a view of a chart.

Version Information
 Version Added:  Excel 2007

Remarks

The ChartView object is one of the objects that can be returned by the SheetViews collection, similar to the Sheets collection. The ChartView object applies only to chart sheets.

Example

The following example returns a ChartView object.

Visual Basic for Applications
  ActiveWindow.SheetViews.Item(1) 

The following example returns a Chart object.

Visual Basic for Applications
  ActiveWindow.SheetViews.Item(1).Sheet 

See Also