PivotTable.PivotSelection (Excel)

Returns or sets the PivotTable selection in standard PivotTable report selection format.

Setting this property is equivalent to calling the PivotSelect method with the Mode argument set to xlDataAndLabel.


Worksheets(1).PivotTables(1).PivotSelection = "Salesman[Bob]"