This documentation is archived and is not being maintained.

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

Sub Sub1(Wb As Workbook, _
	Sh As Object)
End Sub
Dim appEvents_WorkbookNewSheetEventHandler1 As New AppEvents_WorkbookNewSheetEventHandler(AddressOf Sub1)

public delegate Void AppEvents_WorkbookNewSheetEventHandler(
	Workbook^ Wb, 
	Object^ Sh
public delegate void AppEvents_WorkbookNewSheetEventHandler(
	/*in*/Workbook Wb, 
	/*in*/System.Object Sh
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



The workbook.


The new sheet.

Development Platforms

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

Target Platforms