XlSortOrientation Enumeration (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Specifies the sort orientation.

Name

Value

Description

xlSortColumns

1

Sorts by column.

xlSortRows

2

Sorts by row. This is the default value.

Show: