This documentation is archived and is not being maintained.

DocEvents_SelectionChangeEventHandler Delegate 

A Delegate type used to add an event handler for the SelectionChange event. The SelectionChange event occurs when the selection changes on a worksheet.

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

Sub Sub1(Target As Range)
End Sub
Dim docEvents_SelectionChangeEventHandler1 As New DocEvents_SelectionChangeEventHandler(AddressOf Sub1)

public delegate Void DocEvents_SelectionChangeEventHandler(
	Range^ Target
public delegate void DocEvents_SelectionChangeEventHandler(
	/*in*/Range Target
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



The new selected range.

Development Platforms

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

Target Platforms