Compartilhar via


AppEvents_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 AppEvents_WindowDeactivateEventHandler ( _
    Wb As Workbook, _
    Wn As Window _
)
'Usage
Dim instance As New AppEvents_WindowDeactivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WindowDeactivateEventHandler(
    Workbook Wb,
    Window Wn
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Excel Namespace