Compartilhar via


IPivotTables.Add Method

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Add ( _
    PivotCache As PivotCache, _
    TableDestination As Object, _
    TableName As Object, _
    ReadData As Object, _
    DefaultVersion As Object _
) As PivotTable
'Usage
Dim instance As IPivotTables
Dim PivotCache As PivotCache
Dim TableDestination As Object
Dim TableName As Object
Dim ReadData As Object
Dim DefaultVersion As Object
Dim returnValue As PivotTable

returnValue = instance.Add(PivotCache, _
    TableDestination, TableName, ReadData, _
    DefaultVersion)
PivotTable Add(
    PivotCache PivotCache,
    Object TableDestination,
    Object TableName,
    Object ReadData,
    Object DefaultVersion
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.PivotTable

See Also

Reference

IPivotTables Interface

IPivotTables Members

Microsoft.Office.Interop.Excel Namespace