AppEvents_WorkbookNewChartEventHandler Delegate
A Delegate type used to add an event handler for the WorkbookNewChart event. The WorkbookNewChart event occurs when a new chart 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_WorkbookNewChartEventHandler ( _
Wb As Workbook, _
Ch As Chart _
)
'Usage
Dim instance As New AppEvents_WorkbookNewChartEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookNewChartEventHandler(
Workbook Wb,
Chart Ch
)
Parameters
Wb
Type: Microsoft.Office.Interop.Excel.WorkbookThe workbook.
Ch
Type: Microsoft.Office.Interop.Excel.ChartThe new chart.