|
|
|
#1
|
|||
|
|||
|
How to write a macro to count words in MS Word 2000
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. Can anyone help me out with this? |
| Advertisements | |
|
|
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
See the "Remarks" section of this page..
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|