SortField.DataOption property (Excel)

Specifies how to sort text in the range specified in a SortField object. Read/write XlSortDataOption.

Syntax

expression.DataOption

expression A variable that represents a SortField object.

Remarks

XlSortDataOption can be either xlSortNormal or xlSortTextAsNumbers.

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.