Compartilhar via


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)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub DocEvents_SelectionChangeEventHandler ( _
    Target As Range _
)
'Usage
Dim instance As New DocEvents_SelectionChangeEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void DocEvents_SelectionChangeEventHandler(
    Range Target
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Excel Namespace