[]
Creates a PivotTable report based on an IPivotCache object.
IPivotTable CreatePivotTable(IRange tableDestination, string tableName = null)
Function CreatePivotTable(tableDestination As IRange, Optional tableName As String = Nothing) As IPivotTable
| 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. |
| Type | Description |
|---|---|
| IPivotTable |