Compartilhar via


WorkbookEvents_WindowActivateEventHandler Delegate

A Delegate type used to add an event handler for the WindowActivate event. The WindowActivate event occurs when any workbook window is activated.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_WindowActivateEventHandler ( _
    Wn As Window _
)
'Usage
Dim instance As New WorkbookEvents_WindowActivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_WindowActivateEventHandler(
    Window Wn
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Excel Namespace