3 Quick Ways to Batch Change the Color of Texts in Brackets in Your Word Document

In today’s post, we will focus on showing 3 ways to batch change the color of texts in brackets in your Word document.

It’s not uncommon to use various types of brackets in your document. For texts enclosed in brackets, they are of equal importance with those not. Even sometimes, you find you have to stand them out. Given to this demand, we’ve sorted out 3 quick approaches available for you to batch change the color of texts in brackets.Batch Change the Color of Texts in Brackets in Your Word Document

Method 1: Use “Advanced Find” to Find All Texts in Brackets

  1. To begin with, click “Home” tab in the Ribbon.
  2. Next in “Editing” group, click the drop-down button next to “Find” command.
  3. On the drop-down menu, choose “Advanced Find” to open the “Find and Replace” dialog box.Click "Home"->Click Drop-down Button Next to "Find"->Select "Advanced Find"
  4. Then place cursor inside “Find what” text box and enter one of the strings in the following table.
Brackets Strings to Find Brackets and All Enclosed Texts
Square Brackets

[ ]


( )

Braces (Curly Brackets)

{ }

Angle Brackets

< >



  1. Click “More” tab.
  2. Then check “Use wildcards” box.
  3. Click “Find In” and select “Main Document”.Enter String in "Find what" Text Box->Click "More"->Check "Use wildcards" Box->Click "Find In"->Choose "Main Document"
  4. Now you shall see all texts inside the specific type of brackets are in selection.
  5. You can go on performing in the “Find and Replace” box by clicking “Format” tab and choose “Font”.
  6. In “Find Font” box, choose a font color and click “OK”. Then the font color in brackets shall be changed.
  7. Or you can press “Ctrl+ D” to open the “Font” box and set a font color there.

Method 2: Use “Find and Replace” Feature to Change Font Color

  1. Firstly, press “Ctrl+ H” to trigger “Find and Replace” box.
  2. In “Find what” text box, enter a string available on the table in method 1.
  3. And in “Replace with” text box, enter “^&”.
  4. Then click “More” and check “Use wildcards” box.
  5. Next click “Format” button and choose “Font”.
  6. Set a font color there and click “OK”.
  7. Finally, click “Replace All” in “Find and Replace” box.Enter Strings in "Find what" and "Replace with" Text Boxes->Check "Use wildcards" Box->Click "Format"->"Font"->"Replace All"

Method 3: Run VBA Codes to Change the Color of Texts

Running the following macro will change all enclosed texts in all types of brackets to a designated color.

  1. Press “Alt+ F11” to invoke VBA editor.
  2. Then click “Normal” project.
  3. Next click “Insert” and choose “Module”.Click "Normal"->Click "Insert"->Click "Module"
  4. Double click to open the newly created module and paste codes there:
Sub ChangeTheFontColorInBrackets()
  Dim objRange As Range
  Dim strFontColor As String
  Set objRange = ActiveDocument.Content 
  strFontColor = InputBox("Enter the font color you want to change", "Font Color", "For example:2")
  ' Find the words in brackets and change the font color.

  With objRange.Find
    .Text = "\[*\]"
    .MatchWildcards = True
    .Replacement.Font.ColorIndex = strFontColor
    .Execute Replace:=wdReplaceAll
    .Text = "\(*\)"
    .Replacement.Font.ColorIndex = strFontColor
    .Execute Replace:=wdReplaceAll
    .Text = "\{*\}"
    .Replacement.Font.ColorIndex = strFontColor
    .Execute Replace:=wdReplaceAll
    .Text = "\<*\>"
    .Replacement.Font.ColorIndex = strFontColor
    .Execute Replace:=wdReplaceAll   
  End With
End Sub
  1. Hit “F5” to execute codes.
  2. There will be an input box prompting up. You can look up the value of a specific color at this web page:


Just enter a value and click “OK” to proceed.Enter a Font Color Value ->Click "OK"

Here is the possible outcome:Effect of Running VBA Codes

Address Document Corruption Properly

You shouldn’t rely on luck to keep data safe. Instead, you need to make full preparation before any data disaster happens. One of the most is to obtain a specialized tool to fix damaged word in advance.

Author Introduction:

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

One response to “3 Quick Ways to Batch Change the Color of Texts in Brackets in Your Word Document”

Leave a Reply

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