Share via


AppEvents_WorkbookActivateEventHandler Delegate

A Delegate type used to add an event handler for the WorkbookActivate event. The WorkbookActivate event occurs when any workbook 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 AppEvents_WorkbookActivateEventHandler ( _
    Wb As Workbook _
)
'Usage
Dim instance As New AppEvents_WorkbookActivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookActivateEventHandler(
    Workbook Wb
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Excel Namespace