WorkbookEvents_WindowDeactivateEventHandler Delegate
A Delegate type used to add an event handler for the WindowDeactivate event. The WindowDeactivate event occurs when any workbook window is deactivated.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_WindowDeactivateEventHandler ( _
Wn As Window _
)
'Usage
Dim instance As New WorkbookEvents_WindowDeactivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_WindowDeactivateEventHandler(
Window Wn
)
Parameters
Wn
Type: Microsoft.Office.Interop.Excel.WindowThe deactivated window.