Export (0) Print
Expand All
Expand Minimize

AppEvents_WorkbookOpenEventHandler Delegate 

A Delegate type used to add an event handler for the WorkbookOpen event. The WorkbookOpen event occurs when a workbook is opened.

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_WorkbookOpenEventHandler1 As New AppEvents_WorkbookOpenEventHandler(AddressOf Sub1)

'Declaration
Public Delegate Sub AppEvents_WorkbookOpenEventHandler( _
	<InAttribute()> ByVal Wb As Workbook _
)
public delegate void AppEvents_WorkbookOpenEventHandler(
	/*in*/Workbook Wb
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Wb

The workbook.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft