PivotTable.RowAxisLayout Method (Excel)

This method is used for simultaneously setting layout options for all existing PivotFields.


expression. RowAxisLayout( _RowLayout_ )

expression A variable that represents a PivotTable object.


Name Required/Optional Data type Description
RowLayout Required XlLayoutRowType Can be xlCompactRow , xlTabularRow , or xlOutlineRow .


This method is atomic so it makes sure that if layout options cannot be set on any PivotField, the layout options of none of the fields will change and no change is made to the PivotTable.

See also

PivotTable Object