NewSeries Method

Microsoft Excel Visual Basic

NewSeries Method

       

Creates a new series. Returns a Series object that represents the new series.

expression.NewSeries()

expression   Required. An expression that returns a SeriesCollection object.

Remarks

This method isn’t available for PivotChart reports.

Example

This example adds a new series to chart one.

Set ns = Charts(1).SeriesCollection.NewSeries