Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Setting Fraction Bar Overhang Spacing in the Equation Editor

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

 

Expanding Colors Available for Highlighting

Summary: Word's highlighter tool allows you to mark text in one of fifteen colors. If you want to use more colors, you'll need to resort to a different way to highlight the text. This tip describes your options. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)

Word provides a highlighter tool that allows you to...well, "highlight" text, much as you would do with a highlighter pen on a printed document. The default color for highlighting is yellow, but you can change the color if you click the down-arrow to the right of the Highlight tool on the Formatting toolbar. Word allows you to pick any of fifteen different colors.

The colors used for highlighting cannot be changed beyond what is offered in the fifteen colors. (The colors appear to be hard-wired into Word.) You can, however, highlight text in a different way, if you prefer: by using shading. Follow these steps:

  1. Select the text you want to highlight.
  2. Choose Borders and Shading from the Format menu. Word displays the Borders and Shading dialog box.
  3. Make sure the Shading tab is displayed. (Click here to see a related figure.)
  4. From the colors displayed, select the one you want to use. (If you'd like to choose from more colors, click the More Colors button.)
  5. Click OK.

Word then applies the selected color to the selected text, and it looks exactly like what you apply using the Highlight tool. If you find a color you like to use a lot, you can create a macro that applies the shading to the selected text. The following macro applies pale yellow shading to the selected text.

Sub HighlightPaleYellow()
    With Selection.Font
        With .Shading
            .Texture = wdTextureNone
            .ForegroundPatternColor = wdColorAutomatic
            .BackgroundPatternColor = wdColorLightYellow
        End With
    End With
End Sub

With the macro in place, you can assign it to a shortcut key or to a toolbar button so you can apply your own "highlighting" whenever you want. Or, if you prefer, you can bypass macros altogether and simply create a character style that applies the desired shading to selected text.

There is only one downside that I can find to using shading to highlight text, and that has to do with Find and Replace. One of the formatting attributes that you can search for is if the text is highlighted, but you cannot search for shading applied to text. If this is a big concern for you, then I'd suggest defining styles for your shading, since you can always search for specific styles.

Tip #105 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003

Save Time! WordTips has been published weekly since early 1997. Past issues are available in convenient WordTips archives. Have your own enhanced archive of WordTips at your fingertips, available to use at any time!
 
Check out WordTips Archives today!