Rediger

Del via


Range.SortAscending method (Word)

Sorts paragraphs or table rows in ascending alphanumeric order.

Syntax

expression. SortAscending

expression Required. A variable that represents a Range object.

Remarks

The first paragraph or table row is considered a header record and isn't included in the sort. Use the Sort method to include the header record in a sort.This method offers a simplified form of sorting intended for mail merge data sources that contain columns of data. For most sorting tasks, use the Sort method.

See also

Range Object

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.