[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.PivotTables.IPivotCache.CreatePivotTable

CreatePivotTable Method

CreatePivotTable(IRange, string)

Creates a PivotTable report based on an IPivotCache 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 IPivotCache object

string tableName

The name of the new PivotTable report.

Returns
Type Description
IPivotTable