Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1 KB

Excel.PivotTable.PageFieldOrder.md

File metadata and controls

40 lines (25 loc) · 1 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PivotTable.PageFieldOrder property (Excel)
vbaxl10.chm235119
vbaxl10.chm235119
Excel.PivotTable.PageFieldOrder
0c8a6473-f2ee-f357-b840-aaf61cee1fa0
05/09/2019
medium

PivotTable.PageFieldOrder property (Excel)

Returns or sets the order in which page fields are added to the PivotTable report's layout. Can be one of the following XlOrder constants: xlDownThenOver or xlOverThenDown. The default constant is xlDownThenOver. Read/write Long.

Syntax

expression.PageFieldOrder

expression A variable that represents a PivotTable object.

Example

This example causes the PivotTable report to draw three page fields in a row before starting a new row.

With Worksheets(1).PivotTables("Pivot1") 
 .PageFieldOrder = xlOverThenDown 
 .PageFieldWrapCount = 3 
End With

[!includeSupport and feedback]