This documentation is archived and is not being maintained.

DocEvents_Event.SelectionChange Event 

Occurs when the selection changes on a worksheet.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

WithEvents docEvents_Event1 As DocEvents_Event
Function docEvents_Event1_SelectionChange(Target As Range) As Void
	Handles docEvents_Event1.SelectionChange
End Function

event DocEvents_SelectionChangeEventHandler SelectionChange;
 void add_SelectionChange(DocEvents_SelectionChangeEventHandler handler);
 void remove_SelectionChange(DocEvents_SelectionChangeEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms