This documentation is archived and is not being maintained.

WorkbookEvents_PivotTableOpenConnectionEventHandler Delegate 

A Delegate type used to add an event handler for the PivotTableOpenConnection event. The PivotTableOpenConnection event occurs after a PivotTable report opens the connection to its data source.

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

Sub Sub1(Target As PivotTable)
End Sub
Dim workbookEvents_PivotTableOpenConnectionEventHandler1 As New WorkbookEvents_PivotTableOpenConnectionEventHandler(AddressOf Sub1)

public delegate Void WorkbookEvents_PivotTableOpenConnectionEventHandler(
	PivotTable^ Target
public delegate void WorkbookEvents_PivotTableOpenConnectionEventHandler(
	/*in*/PivotTable Target
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



Required. The selected PivotTable report.

Development Platforms

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

Target Platforms