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