Chart.SeriesChange Event (Excel)
Occurs when the user changes the value of a chart data point by clicking a bar in the chart and dragging the top edge up or down thus changing the value of the data point.
Important
This event is not functional in Excel 2007 and later versions. You should not use it in your code.
Syntax
expression .SeriesChange(SeriesIndex, PointIndex)
expression A variable that represents a Chart object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
SeriesIndex |
Required |
Long |
The offset within the Series collection for the changed series. |
PointIndex |
Required |
Long |
The offset within the Points collection for the changed point. |
Return Value
Nothing
Example
This example changes the point's border color when the user changes the point value.
Private Sub Chart_SeriesChange(ByVal SeriesIndex As Long, _
ByVal PointIndex As Long)
Set p = Me.SeriesCollection(SeriesIndex).Points(PointIndex)
p.Border.ColorIndex = 3
End Sub