Chart.SeriesChange event (Excel)

Occurs when the user changes the value of a chart data point by choosing 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.