DragOver Event [Excel 2003 VBA Language Reference]

Occurs when a range of cells is dragged over a chart.

Private Subobject**_DragOver()**

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

Example

This example displays the address of a range of cells dragged over a chart.

Private Sub Chart_DragOver()
    MsgBox Selection.Address
End Sub

Applies to | Chart Object