PivotField.LayoutCompactRow (Excel)

Specifies whether or not a PivotField is compacted (items of multiple PivotFields are displayed in a single column) when rows are selected.

Setting this property to True (default) will have no immediate visual effect in the PivotTable if the LayoutForm property is set to xlTabular, but it can be set independently.


ActiveCell.PivotField.LayoutCompactRow = True