Home |
Search |
Today's Posts |
#4
|
|||
|
|||
Quote:
There are 2 ways to locate all capitalized terms in your document as follows: 1. Use "Advanced Find" Feature Enter "[A-Z]{1,}" (without quotation marks) in "Find what" text box. It shall find you all capitalized words. To be exact, it finds all words with at least one letter capitalized. And only capitalized letters are in selection not the entire word. 2. Run a Macro Press "Alt+ F11" to open VBA editor and create a new module. Then paste and run the following codes: Sub FindandHighlightCapitalizedWords() Dim objRange As Range With Selection .HomeKey Unit:=wdStory With Selection.Find .ClearFormatting .Text = "[A-Z]{1,}" .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchWildcards = True .Execute End With Do While .Find.Found Set objRange = Selection.Range objRange.HighlightColorIndex = wdBrightGreen .Collapse wdCollapseEnd .Find.Execute Loop End With End Sub The effect is the same as that in method 1. For more detailed information, you can refer to this article: https://www.datanumen.com/blogs/2-qu...word-document/ Hope that helps! Ernie Last edited by Ernie Starr : April 24th 17 at 05:05 AM |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to Find Highlighted Words in a Document? | Page Layout | |||
how do you find out how many words their are in the document!? | Microsoft Word Help | |||
How do I find out how many words are in my document? | Microsoft Word Help | |||
Fore Words : find all repetitions in your MS Word document ! | Microsoft Word Help | |||
Fore Words : find all repetitions in your MS Word document ! | New Users |