XlSortType enumeration (Excel)

Specifies which elements are to be sorted. Use this argument only when sorting PivotTable reports.

Name Value Description
xlSortLabels 2 Sorts the PivotTable report by labels.
xlSortValues 1 Sorts the PivotTable report by values.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.