XlSortOrientation enumeration (Excel)

Specifies the sort orientation.

Name Value Description
xlSortColumns 1 Sorts by column.
xlSortRows 2 Sorts by row. This is the default value.

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.