AppEvents_NewWorkbookEventHandler Delegate
A Delegate type used to add an event handler for the NewWorkbook event. The NewWorkbook event occurs when a new workbook is created.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_NewWorkbookEventHandler ( _
Wb As Workbook _
)
'Usage
Dim instance As New AppEvents_NewWorkbookEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_NewWorkbookEventHandler(
Workbook Wb
)
Parameters
Wb
Type: Microsoft.Office.Interop.Excel.WorkbookThe new workbook.