Compartilhar via


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

Return Value

Type: Microsoft.Office.Interop.Excel.PivotTable

See Also

Reference

IPivotCache Interface

IPivotCache Members

Microsoft.Office.Interop.Excel Namespace