AutoSortOrder Element (Microsoft Excel)

Specifies the sort order of a PivotTable field.

Contained In

PivotField

Remarks

This element contains one of the following string constants specifying the sort order: Ascending, Descending, or Manual. If Manual is specified, or if this element is not specified, the field is not sorted.

Example

See the example in the PivotTable element topic.