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

See also

Chart Object