DragPlot Event

Applies To

Chart object.

Description

Occurs when a range of cells is dragged and dropped on a chart.

Syntax

Private Sub object_DragPlot( )

object An object of type Chart declared with events in a class module.

Example

This example changes the chart type when a range of cells is dragged and dropped on a chart.

Private Sub Chart_DragPlot()
    Me.ChartType = xlLine
End Sub