Compartilhar via


SeriesCollection.NewSeries Method

Excel Developer Reference

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

Syntax

expression.NewSeries

expression   A variable that represents a SeriesCollection object.

Return Value
Series

Remarks

This method isn’t available for PivotChart reports.

Example

This example adds a new series to chart one.

Visual Basic for Applications
  Set ns = Charts(1).SeriesCollection.NewSeries

See Also