user-defined sort

G

Guest

Can I define a sort in MS Word 2002?

I need to sort multiple-line notes, separated by 4 hard returns, by 2nd
line, 2nd word.
 
J

Jay Freedman

Can I define a sort in MS Word 2002?

I need to sort multiple-line notes, separated by 4 hard returns, by 2nd
line, 2nd word.

You can't tell the built-in sort to do anything like that.

What you can do (or get a geek to do for you) is to write a macro that
carries out this process:

- Put the notes into a 1-column table, one note (4 paragraphs) per
row.
- Add a second column to the table.
- Find the second word of the second paragraph in each note, and put a
copy of that word in the other table cell in that row.
- Sort the table on the second column.
- Delete the second column.
- Convert the table back to text.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top