Change the color of wavy underlines in Word

Applies to
Microsoft Word 2002

The ability to change the color of the wavy underlines used to indicate possible spelling, grammar, and formatting errors is an important accessibility aid. Word includes a template,, that contains macros that you can use to easily accomplish this task.

Installing is not installed by default when you perform a typical installation of Microsoft Office XP or Word. Therefore, to use the macros contained in the template, you first need to install it.


  1. In the Microsoft Office Setup Wizard, click the plus sign (+) next to Microsoft Word for Windows, and then click the plus sign (+) next to Wizards and Templates.

 Note   For more information about installing or removing individual components, see the Help in your Office XP program.

  1. Click the arrow next to More Templates and Macros, and then click Run from My Computer.
  2. Click Update.

Running the Registry Options macro

Once you have installed, you can open it in Word and use the Registry Options macro to make the changes you want.

Change the color of wavy underlines

  1. Locate and open the file, which should be located in the Program Files\Microsoft Office\Office10\Macros folder.
  2. If the Security Warning dialog box appears, select the Always trust macros from this source check box, and then click Enable Macros.

 Note   When your security is set to low, you will not receive a prompt or signature validator and the macros are automatically enabled. You should only use this setting if you are certain that all macros in your files are from trusted sources.

  1. After reading the instructions contained in the template, scroll down to the table of macros, and then click Registry Options.
  2. In the Option list on the Word Options tab, do one of the following:
    • To change the underline color for possible spelling errors, click SpellingWavyUnderlineColor.
    • To change the underline color for possible grammar errors, click GrammarWavyUnderlineColor.
    • To change the underline color for possible formatting errors, click FormatConsistencyWavyUnderlineColor.
  3. Click Choose Color.
  4. Select the color you want, and then click OK.
  5. Click Change.
  6. Word displays a dialog box confirming the change to the registry, and instructing you to restart. Click OK.
  7. Click Close, and then restart Word.

The type of wavy underline you changed uses the new color you specified.

To change any other underline colors, repeat the above procedure, selecting the option you want in step 4.