PivotTable.RowAxisLayout(XlLayoutRowType) Method

Definition

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

public:
 void RowAxisLayout(Microsoft::Office::Interop::Excel::XlLayoutRowType RowLayout);
public void RowAxisLayout (Microsoft.Office.Interop.Excel.XlLayoutRowType RowLayout);
Public Sub RowAxisLayout (RowLayout As XlLayoutRowType)

Parameters

RowLayout
XlLayoutRowType

Required XlLayoutRowType Can be xlCompactRow, xlTabularRow, or xlOutlineRow.

Remarks

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.

Applies to