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)

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

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.



Required. The selected workbook.


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

© 2014 Microsoft. All rights reserved.