This documentation is archived and is not being maintained.

WorkbookEvents_NewSheetEventHandler Delegate 

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

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

Sub Sub1(Sh As Object)
End Sub
Dim workbookEvents_NewSheetEventHandler1 As New WorkbookEvents_NewSheetEventHandler(AddressOf Sub1)

public delegate void WorkbookEvents_NewSheetEventHandler(
	[In] object Sh
public delegate void WorkbookEvents_NewSheetEventHandler(
	/*in*/System.Object Sh
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



The new sheet. Can be a Worksheet or Chart object.

Development Platforms

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

Target Platforms