Export (0) Print
Expand All
Expand Minimize

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 microsoft.office.interop.excel.dll)

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

public delegate void DocEvents_SelectionChangeEventHandler(
	[In] 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.

Parameters

Target

The new selected range.

Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft