This documentation is archived and is not being maintained.

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

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

public delegate void 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