# SeriesCollection.Add (PowerPoint)

Adds one or more new series to the collection.

This method does not actually return a Series object as stated in the Object Browser.

Syntax : *expression*.**Add** (Source, Rowcol, SeriesLabels, CategoryLabels, Replace)

```
Dim srs As Series
Set srs = ActivePresentation.Slides(1).Shapes(1).Chart.ChartGroups(1).SeriesCollection.Add(Source:=)
```

## Arguments

The following argument is required

Source (ChartData) - The new data as a string representation of a range contained in the Workbook property of the ChartData object for the chart.

The following arguments are optional

Rowcol (XlRowCol) - One of the enumeration values that specifies whether the new values are in the rows or columns of the specified range.

Possible Values are**xlColumns**- The data series is in a row,

**xlRows**- The data series is in a column.

SeriesLabels (Boolean) - True if the first row or column contains the name of the data series. False if the first row or column contains the first data point of the series. If this argument is omitted, Microsoft Word attempts to determine the location of the series name from the contents of the first row or column.

CategoryLabels (Boolean) - True if the first row or column contains the name of the category labels. False if the first row or column contains the first data point of the series. If this argument is omitted, Word attempts to determine the location of the category label from the contents of the first row or column.

Replace (Boolean) - If CategoryLabels is True and Replace is True, the specified categories replace the categories that currently exist for the series. If Replace is False, the existing categories will not be replaced. The default is False.