Series.Values Property
Excel Developer Reference |
Returns or sets a Variant value that represents a collection of all the values in the series.
Syntax
expression.Values
expression A variable that represents a Series object.
Remarks
The value of this property can be a range on a worksheet or an array of constant values, but not a combination of both. See the examples for details.
Example
This example sets the series values from a range.
Visual Basic for Applications |
---|
|
To assign a constant value to each individual data point, you must use an array.
Visual Basic for Applications |
---|
|
See Also