Add Method (ChartObjects Collection)

Add Method (ChartObjects Collection)

         Example         Applies To

Creates a new embedded chart. Returns a ChartObject object.

Syntax

object.Add(Left, Top, Width, Height)

object   Required. An expression that returns a ChartObjects object.

Left, Top   Required Long. The initial coordinates of the new object (in points), relative to the upper-left corner of cell A1 on a worksheet or to the upper-left corner of a chart.

Width, Height   Required Long. The initial size of the new object, in points.