Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DocEvents_DeactivateEventHandler Delegate 

A Delegate type used to add an event handler for the Deactivate event. The Deactivate event occurs when the worksheet is deactivated.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Sub Sub1()
End Sub
Dim docEvents_DeactivateEventHandler1 As New DocEvents_DeactivateEventHandler(AddressOf Sub1)

Public Delegate Sub DocEvents_DeactivateEventHandler()
public delegate void DocEvents_DeactivateEventHandler();
In JScript, you can use the delegates in the .NET Framework, 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

© 2015 Microsoft