[]
Creates a PivotTable report based on a PivotCache object.
IPivotTable CreatePivotTable(IRange TableDestination, string TableName = null)
| 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. |
| Type | Description |
|---|---|
| IPivotTable |