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)

Usage

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

Syntax

Public Delegate Sub DocEvents_DeactivateEventHandler()
public delegate void DocEvents_DeactivateEventHandler();
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.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace