IPivotCache.CreatePivotTable Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function CreatePivotTable ( _
TableDestination As Object, _
TableName As Object, _
ReadData As Object, _
DefaultVersion As Object _
) As PivotTable
'Usage
Dim instance As IPivotCache
Dim TableDestination As Object
Dim TableName As Object
Dim ReadData As Object
Dim DefaultVersion As Object
Dim returnValue As PivotTable
returnValue = instance.CreatePivotTable(TableDestination, _
TableName, ReadData, DefaultVersion)
PivotTable CreatePivotTable(
Object TableDestination,
Object TableName,
Object ReadData,
Object DefaultVersion
)
Parameters
- TableDestination
Type: System.Object
- TableName
Type: System.Object
- ReadData
Type: System.Object
- DefaultVersion
Type: System.Object
Return Value
Type: Microsoft.Office.Interop.Excel.PivotTable