SelectionChange Event

         Example         Applies To

Occurs when the selection changes on a worksheet.

Syntax

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)

Target   The new selected range.