Hi, couple of minor problems. I wanted to help my wife with a macro that
would count all the words in the document and also the number of words in
bold. I can't even get to first base on this because the VBA word count
seems to be all screwy.
For example: 'MsgBox ActiveDocument.Range.Words.Count' returns an answer of
10 for a document that has 5 words in it. The word count on the menu
Tools...word count gives the correct answer. Is there a simple way to access
that, and why does words.count...
VBA Word Count
would count all the words in the document and also the number of words in
bold. I can't even get to first base on this because the VBA word count
seems to be all screwy.
For example: 'MsgBox ActiveDocument.Range.Words.Count' returns an answer of
10 for a document that has 5 words in it. The word count on the menu
Tools...word count gives the correct answer. Is there a simple way to access
that, and why does words.count...
VBA Word Count