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)
Usage
WithEvents docEvents_Event1 As DocEvents_Event
Function docEvents_Event1_Deactivate() As Void
Handles docEvents_Event1.Deactivate
End Function
Syntax
Event Deactivate As DocEvents_DeactivateEventHandler
event DocEvents_DeactivateEventHandler Deactivate;
event DocEvents_DeactivateEventHandler^ Deactivate;
void add_Deactivate(DocEvents_DeactivateEventHandler handler);
void remove_Deactivate(DocEvents_DeactivateEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
DocEvents_Event Interface
Microsoft.Office.Interop.Excel Namespace