Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)

'Declaration
Public Delegate Sub AppEvents_WorkbookPivotTableOpenConnectionEventHandler( _
	<InAttribute()> ByVal Wb As Workbook, _
	<InAttribute()> ByVal Target As PivotTable _
)
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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.