This documentation is archived and is not being maintained.

WorkbookEvents_OpenEventHandler Delegate 

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

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

Sub Sub1()
End Sub
Dim workbookEvents_OpenEventHandler1 As New WorkbookEvents_OpenEventHandler(AddressOf Sub1)

public delegate void WorkbookEvents_OpenEventHandler();
public delegate void WorkbookEvents_OpenEventHandler();
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Development Platforms

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

Target Platforms