Partager via


DocEvents_Event.Deactivate Event

Occurs when the worksheet is deactivated.

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

Syntax

'Declaration
Event Deactivate As DocEvents_DeactivateEventHandler
'Usage
Dim instance As DocEvents_Event
Dim handler As DocEvents_DeactivateEventHandler

AddHandler instance.Deactivate, handler
event DocEvents_DeactivateEventHandler Deactivate

See Also

Reference

DocEvents_Event Interface

DocEvents_Event Members

Microsoft.Office.Interop.Excel Namespace