View Single Post
 
Old 11-21-2022, 12:45 PM
kilroyscarnival kilroyscarnival is offline Windows 10 Office 2021
Expert
 
Join Date: May 2019
Posts: 361
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default

Quote:
Originally Posted by Charles Kenyon View Post
While this is an index, it is not one produced by Word's Index feature.

I would replace the line breaks ^l with paragraph breaks ^p and then covert the table to text.
Then remove any unneeded paragraph marks and sort.
You could either put the Sort command on your QAT or convert the text back to a table, perhaps a single-cell table, so you could use the Sort command it the Ribbon.
This is almost what I did with the data pasted above to try it. I pasted into Word and saw the line returns, Find/Replace ^l to ^p, then converted the text to a table, breaking contents on the paragraph.

When sorting, I found I didn't get results until I changed the Sort By from the first cell's text to Column 1 as found in the dropdown, as shown below. Then it sorted. You could, then, convert the table back to a text, or simply make the table gridlines invisible if that suited better (handy for updating.)

Ann
Attached Images
File Type: jpg table_sort.jpg (79.2 KB, 19 views)
Reply With Quote