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)

'Usage
Sub Sub1(Wb As Workbook, _
	Target As PivotTable)
End Sub
Dim appEvents_WorkbookPivotTableOpenConnectionEventHandler1 As New AppEvents_WorkbookPivotTableOpenConnectionEventHandler(AddressOf Sub1)

public delegate void AppEvents_WorkbookPivotTableOpenConnectionEventHandler(
	[In] Workbook Wb, 
	[In] PivotTable Target
);
public delegate void AppEvents_WorkbookPivotTableOpenConnectionEventHandler(
	/*in*/Workbook Wb, 
	/*in*/PivotTable Target
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Wb

Required. The selected workbook.

Target

Required. The selected PivotTable report.

Development Platforms

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

Target Platforms

Show: