[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPivotCache.CreatePivotTable

CreatePivotTable Method

CreatePivotTable(IRange, string)

Creates a PivotTable report based on a PivotCache object.

Declaration
IPivotTable CreatePivotTable(IRange TableDestination, string TableName = null)
Function CreatePivotTable(TableDestination As IRange, Optional TableName As String = Nothing) As IPivotTable
Parameters
Type Name Description
IRange TableDestination

The cell in the upper-left corner of the PivotTable report’s destination range (the range on the worksheet where the resulting PivotTable report will be placed). The destination range must be on a worksheet in the workbook that contains the PivotCache object specified by expression.

string TableName

The name of the new PivotTable report.

Returns
Type Description
IPivotTable