Partager via


IPivotCaches.Add Method

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

Syntax

'Declaration
Function Add ( _
    SourceType As XlPivotTableSourceType, _
    SourceData As Object _
) As PivotCache
'Usage
Dim instance As IPivotCaches
Dim SourceType As XlPivotTableSourceType
Dim SourceData As Object
Dim returnValue As PivotCache

returnValue = instance.Add(SourceType, _
    SourceData)
PivotCache Add(
    XlPivotTableSourceType SourceType,
    Object SourceData
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.PivotCache

See Also

Reference

IPivotCaches Interface

IPivotCaches Members

Microsoft.Office.Interop.Excel Namespace