SeriesCollection.Extend method

Adds new data points to an existing series collection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Object Extend(
	Object Source,
	Object Rowcol,
	Object CategoryLabels
)

Parameters

Source
Type: System.Object

The new data to be added to the SeriesCollection object, represented as an A1-style range reference.

Rowcol
Type: System.Object

Specifies whether the new values are in the rows or columns of the given range source. Can be one of the following XlRowCol constants: xlRows or xlColumns. If this argument is omitted, Microsoft Word attempts to determine where the values are by the size and orientation of the selected range or by the dimensions of the array.

CategoryLabels
Type: System.Object

True to have the first row or column contain the name of the category labels. False to have the first row or column contain the first data point of the series. If this argument is omitted, Microsoft Word attempts to determine the location of the category label from the contents of the first row or column.

Return value

Type: System.Object

This method is not available for PivotChart reports.

Show:
© 2014 Microsoft