Syntax

expression.DragPlot

expression A variable that represents a Chart object.

Return Value
Nothing

Example

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

Visual Basic for Applications
Private Sub Chart_DragPlot() Me.ChartType = xlLine End Sub