Export (0) Print
Expand All

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)

WithEvents docEvents_Event1 As DocEvents_Event
Function docEvents_Event1_Deactivate() As Void
	Handles docEvents_Event1.Deactivate
End Function

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.

Development Platforms

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

Target Platforms

Community Additions

© 2014 Microsoft