View Single Post
 
Old 08-18-2020, 05:25 AM
grumblid grumblid is offline Windows 7 64bit Office 2003
Novice
 
Join Date: Jul 2016
Posts: 25
grumblid is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
OK, the coding of a macro to do what you ask is possible but unlikely to actually satisfy you. All macros must be based on assumptions and it appears that the assumptions we would need to make are likely to be incorrect enough times that the result would be pointless.

If you had a VERY regular delimiting factor that lets us say this is the end of the project chunk then we could use that but you must never vary from that 'separator' or inadvertently include that separator in the middle of a project.

Based on your input information so far, I'm going to assume that your 'project' groups are delimited by empty paragraphs. If that is the case, I would start by moving each of these projects into table cells which would create a regular structure where the macro could now look at your content delimited by something more tangible and controllable. It would then be a far simpler task to add a column with a character count and sort the table based on that column.
I mean if it works, I'm pretty easy to satisfy :]

Thanks for the suggestion, but personally table cells would be a nightmare for what I have. Though 'character count' does kind of sound like the general term I'm thinking of. Like if a macro or online tool could look at a document like 'okay this body of text has 200 characters and this one has 300, so the one with 300 goes above that one.' But of course do that for the entire document all at once.

Outside of MS Word Macros, does anyone have any suggestions for an online tool that might be able to do that? I've used sites that alphabetize words, add up multiple numbers that you copy/paste onto it, and stuff like that. But not one like this yet :{o
Reply With Quote