High! Tim,
Ref: word sorting?, dd.28-Jun-97, from: Tim Esaias
TE> Is there a function in Word that will sort through the words
TE> in a document and list how many times each word appears? Some word
TE> processors apparently can do this, but I haven't found anything
TE> like that in Word.
Me neither, but you can always write a macro to do so:
-copy document to doc2
-change tabs and spaces to end-of-paragraph signs
-remove empty lines
-change all words to lower- or uppercase
-sort the lines
-:loop1
-read a line
-counter=0
-copy line to doc3
-:loop2
-if next line = read line then counter=counter+1; goto loop2
else put count in doc3 at end of line; goto loop1
___ __ __
Happy programming, / | / /__/ /
___/ /| |/ ___ /
Jigal. /____/ |___/ /_/
--- Terminate 4.00/Pro
---------------
* Origin: Point 2 is a point too at Revolution Ballroom (2:281/721.2)
|