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)
Usage
Sub Sub1(Wb As Workbook)
End Sub
Dim appEvents_WorkbookActivateEventHandler1 As New AppEvents_WorkbookActivateEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub AppEvents_WorkbookActivateEventHandler( _
<InAttribute()> ByVal Wb As Workbook _
)
public delegate void AppEvents_WorkbookActivateEventHandler(
[In] Workbook Wb
);
public delegate Void AppEvents_WorkbookActivateEventHandler(
Workbook^ Wb
);
public delegate void AppEvents_WorkbookActivateEventHandler(
/*in*/Workbook Wb
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Wb
The activated workbook.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000