View Single Post
 
Old 02-26-2023, 05:59 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It appears you are over-engineering your solution. Have you worked out why the code I've provided doesn't work for you?

You don't need to sort an array of words if your paragraphs are going into an empty document, just sort that document by paragraph after populating it.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote