Partager via


AppEvents_WorkbookNewSheetEventHandler Delegate

A Delegate type used to add an event handler for the WorkbookNewSheet event. The WorkbookNewSheet event occurs when a new sheet is created in any open workbook.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_WorkbookNewSheetEventHandler ( _
    Wb As Workbook, _
    Sh As Object _
)
'Usage
Dim instance As New AppEvents_WorkbookNewSheetEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookNewSheetEventHandler(
    Workbook Wb,
    Object Sh
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Excel Namespace