WD2000: VBA: How to Count the Occurrences of a Word or Phrase (240157)
The information in this article applies to:
This article was previously published under Q240157 SUMMARY
Microsoft Word does not provide a built-in feature to count the number of times a word or phrase is used in a document. However, by using the programming language in Word, you can create a routine that performs this function.
REFERENCES
For more information about how to use the sample code in this article, click
the article number below to view the article in the Microsoft Knowledge
Base:
212536
OFF2000: How to Run Sample Code from Knowledge Base Articles
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbmacroexample kbProgramming KB240157 |
---|
|