Share via


SortField.SortOn Property

Excel Developer Reference

Returns or sets what attribute of the cell to sort on . Read/write XlSortOn.

Version Information
 Version Added:  Excel 2007

Syntax

expression.SortOn

expression   A variable that represents a SortField object.

Remarks

XlSortOn can be one of these XlSortOn constants.
SortOnCellColor
SortOnFontColor
SortOnIcon
SortOnValues

See Also