Export (0) Print
Expand All
Expand Minimize

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 microsoft.office.interop.excel.dll)

'Usage
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.

Parameters

Sh

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

Community Additions

ADD
Show:
© 2015 Microsoft