AllowCustomOrdering Property

Microsoft Office Web Components Visual Basic

expression.AllowCustomOrdering

expression    Required. An expression that returns a PivotTable object.

Example

This example prevents users from reordering members of the row axis or column axis in PivotTable1.

PivotTable1.AllowCustomOrdering = False