Compartilhar via


DocEvents_Event.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
Event SelectionChange As DocEvents_SelectionChangeEventHandler
'Usage
Dim instance As DocEvents_Event
Dim handler As DocEvents_SelectionChangeEventHandler

AddHandler instance.SelectionChange, handler
event DocEvents_SelectionChangeEventHandler SelectionChange

See Also

Reference

DocEvents_Event Interface

DocEvents_Event Members

Microsoft.Office.Interop.Excel Namespace