2 Quick Ways to Find All Words with Initial or All Letters Capitalized in Your Word Document

In this article, we want to introduce you 2 quick ways to find all words with initial or all letters capitalized in your Word document.

Capitalization is often seen in our documents. For example, some people prefer using capitalization to lay emphasis on important points. Besides, if you are looking through a government document, you will probably see many organization names in acronyms. The reasons to find words with initial or all letters capitalized are as follows:

  1. You may need to change capitalized words to other cases, such as small caps.
  2. Sometimes, there is no need to use capitalization all the time even as a way of emphasis.
  3. In a government proposal, it’s of great importance to recheck the correct spell and explanation of acronyms which are in all caps most time.

Therefore, just pick up the methods we are going to show you to get the job done.Find All Words with Initial or All Letters Capitalized

Method 1: Utilize “Advanced Find” Features

This time we use wildcards to help us find all words either with initial or all letters capitalized.

  1. Firstly, click the arrow button next to “Find” command under “Home” tab.
  2. Then click “Advanced Find” to open the “Find and Replace” box.Click "Home"->Click the arrow button->Click "Advanced Find"
  3. Next place cursor at the “Find what” text box. Enter “[A-Z]{2,}” to find all words with all letter capitalized. And enter “[A-Z]{1,}” to find all words with initial capitalized.
  4. Click “More” to bring out more options.
  5. Next check “Use wildcards” box.
  6. Then click “Find In” button and choose “Main Document”. You shall see words in selection now.Enter codes in "Find what" text box->Check "Use wildcards" box->Click "Find In"->Choose "Main Document"

Note:

As you may notice that when using “[A-Z]{1,}” to find all words with initial capitalized, only capitalized letters are in selection, such as bellow:Only capitalized letters being in selection

An alternative option is replacing the wildcards with “[A-Z][a-z]{1,}” to find all words with initial capitalized. But its setback is that it finds only words over than one letter. For instance, letter “A” will not be recognized.

Method 2: Run Word Macro

Apart from method 1, you can also run macro to highlight all target words as to examine the proper usage.

  1. To start off, press “Ctrl+ Home” to go to the beginning of a document.
  2. Then press “Alt+ F11” to trigger the VBA editor.
  3. Next go to “Normal” project by clicking on it.
  4. Click “Insert” tab and select “Module”.Click "Normal"->Click "Insert"->Click "Module"
  5. Then double click the module to have the editing area on the right side available.
  6. Now paste the following codes there:
Sub FindAndHighlightAllCaps()
  Dim objRange As Range
 
  With Selection
    .HomeKey Unit:=wdStory
 
    With Selection.Find
      .ClearFormatting
      .Text = "[A-Z]{2,}"
      .Replacement.Text = ""
      .Forward = True
      .Wrap = wdFindContinue
      .Format = False
      .MatchWildcards = True
      .Execute
    End With
    Do While .Find.Found
      Set objRange = Selection.Range
      objRange.HighlightColorIndex = wdPink
      .Collapse wdCollapseEnd
      .Find.Execute
    Loop
  End With
End Sub
  1. Lastly, click “Run”.Paste codes->Click "Run"

This macro will highlight words with all letters capitalized in pink.

To highlight all words with initial capitalized, use this macro instead:

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

As to remove the highlight color, press “Ctrl+ A” to select the entire document. You can click “Home” tab first then click the “Text Highlight Color”. Next choose “No Color”.Click "Home"->Click "Text Highlight Color"->Choose "No Color"

Handle Word Errors

It’s such a shame that Word can run into errors every now and then. Therefore, it’s extremely necessary to know the right way to fix Word issues. One of the useful options is to acquire a repairing tool to recover corrupted files.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including corrupted xlsx and pdf repair software products. For more information visit www.datanumen.com

Leave a Reply

Your email address will not be published. Required fields are marked *