AppEvents_WorkbookDeactivateEventHandler Delegate
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

AppEvents_WorkbookDeactivateEventHandler Delegate 

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

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

'Usage
Sub Sub1(Wb As Workbook)
End Sub
Dim appEvents_WorkbookDeactivateEventHandler1 As New AppEvents_WorkbookDeactivateEventHandler(AddressOf Sub1)

public delegate void AppEvents_WorkbookDeactivateEventHandler(
	[In] Workbook Wb
);
public delegate void AppEvents_WorkbookDeactivateEventHandler(
	/*in*/Workbook Wb
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Wb

The workbook.

Development Platforms

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

Target Platforms

Show:
© 2016 Microsoft