This documentation is archived and is not being maintained.

WorkbookEvents_DeactivateEventHandler Delegate 

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

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

'Usage
Sub Sub1()
End Sub
Dim workbookEvents_DeactivateEventHandler1 As New WorkbookEvents_DeactivateEventHandler(AddressOf Sub1)

public delegate void WorkbookEvents_DeactivateEventHandler();
public delegate void WorkbookEvents_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

Show: