This documentation is archived and is not being maintained.

AppEvents_WorkbookPivotTableOpenConnectionEventHandler Delegate

A Delegate type used to add an event handler for the WorkbookPivotTableOpenConnection event. The WorkbookPivotTableOpenConnection event occurs after a PivotTable report connection has been opened.

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

[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookPivotTableOpenConnectionEventHandler(
	Workbook Wb,
	PivotTable Target
)

Parameters

Wb
Type: Microsoft.Office.Interop.Excel.Workbook

Required. The selected workbook.

Target
Type: Microsoft.Office.Interop.Excel.PivotTable

Required. The selected PivotTable report.

Show: