Object Reference > Chart2DData Object > Chart2DData Object Methods > UpdateDataValue Method (Chart2DData) |
UpdateDataValue Method (Chart2DData)
Replaces data of a specified value with a new value.
Function UpdateDataValue(OldValue As Double, NewValue As Double) As Long
All values matching OldValue will be replaced with NewValue. Returns a count of the number of values replaced.
Part |
Type |
Description |
OldValue |
double |
The data to be replaced. |
NewValue |
double |
The value replacing the old data. |
See Also