PivotField.LayoutCompactRow property (Excel)
Specifies whether or not a PivotField is compacted (items of multiple PivotFields are displayed in a single column) when rows are selected. Read/write Boolean.
Syntax
expression.LayoutCompactRow
expression A variable that represents a PivotField object.
Remarks
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.