Microsoft KB Archive/40761

Word: Sorting Within a Table

PSS ID Number: Q40761 Article last modified on 03-07-1997

=
========================================================= 4.00 5.00 5.10 MACINTOSH kbusage

= SUMMARY =

When a table is sorted in Microsoft Word for the Macintosh, the sort will differ between versions, as detailed below.

Word Versions 5.0 and 5.1
When a table is sorted in Word, the sort will be based on the selected cells of a column. The entire row of the table will be sorted. If more than one column is selected, the sort will be performed based on the left column first and a secondary sort on the selected columns to the right. To sort a table, select the text you want to sort and choose Sort from the Tools menu.

If the rows of a table contain different numbers of columns, the sort is still performed on the selected column.

Word Version 4.0
When a table is sorted in Word 4.0, the sort will be based on the column that contains the insertion point or the first column in the active selection. The entire row is sorted.

For example, if the insertion point is in any cell in the third column of a four-column table, the table (and nothing outside the table) is sorted based on the third column when the Sorting command is chosen from the Utilities menu. Word 4.0 does not sort secondarily on any other column in the table, but it keeps rows intact (such as in a database sort).

If the rows within a table contain different numbers of columns, the table is still sorted according to the column the insertion point is in for a particular row.

For example, if the insertion point is in the second cell in a row in a table, the table will always be sorted according to the second cell of every row in the table. Therefore, the items being sorted may not always appear in a vertical line.

KBCategory: kbusage KBSubCategory: kbtable Additional reference words: macword macword5 4.00 5.00 5.10 ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.