I want to make a macro that will count certain words in a document (e.g. all the words in the third column in a table.) I want it to use the same criteria when counting words that it would if you selected Tools…->Word Count… from the menu.
Why is this so damn hard?
The Selection.Words.Count property apparently counts punctuation and paragraph marks as separate words, so I was a few hundred words off in my test file.
If you select text and then use Tools --> Word Count, it will count only the words in the selection. Only helpful if the words you want to count are contiguous, I realize, but thought I’d mention it in case it helps.