Bewerken

Delen via


SeriesCollection.NewSeries method (Excel)

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.

Set ns = Charts(1).SeriesCollection.NewSeries

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.