SeriesChange Event [Excel 2003 VBA Language Reference]

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.

Private Subobject**_SeriesChange(ByValSeriesIndexAs Long**, ByValPointIndexAs Long)

object An object of type Chart declared with events. For more information, see Using Events with Embedded Charts.

SeriesIndex The offset within the Series collection for the changed series.

PointIndex The offset within the Points collection for the changed point.


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

Applies to | Chart Object