![]() |
|
|
|
#1
|
||||
|
||||
|
You would need to calculate the length of each paragraph before sorting. The simplest way to do the would be to add all the paragraphs to a table, insert an empty column in the table, calculate each paragraph's length and write it to the empty cell on that row, sort the table by the column you added, then optionally, delete that column and convert the table back to text.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Quote:
Quote:
You did a complete coding of a quicksort algorithm. That's jawbreaking. You put a lot of work. What an amazing person you are. |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Create a unique list of values that match a criteria, sorted in order of another criteria
|
BradRichardson | Excel | 2 | 01-03-2017 12:25 AM |
Personalize windows explorer
|
dianabanana | Office | 1 | 03-24-2014 08:10 PM |
| Personalize a PP Presentation for different users? | dextrousdave | PowerPoint | 0 | 02-26-2012 11:49 AM |
| Forgotten Sort and Filter Criteria | rbdmg | Mail Merge | 0 | 10-31-2011 09:14 PM |
Sort by criteria: number of results
|
p0k | Excel | 1 | 10-22-2009 08:33 PM |