
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. There is only one downside that I can find to using shading to highlight text, and that has to do with Find and Replace. Or, if you prefer, you can bypass macros altogether and simply create a character style that applies the desired shading to selected text. 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. BackgroundPatternColor = wdColorLightYellow ForegroundPatternColor = wdColorAutomatic The following macro applies pale yellow shading to the selected text. If you find a color you like to use a lot, you can create a macro that applies the shading to the selected text. Word then applies the selected color to the selected text, and it looks exactly like what you apply using the Highlight tool. (If you'd like to choose from more colors, click the More Colors button.)
From the colors displayed, select the one you want to use. Select the text that you want to remove highlighting from, or press Ctrl+A to select all of the text in the document. Remove highlighting from part or all of a document. The mouse pointer becomes a when you point to your document. The Shading tab of the Borders and Shading dialog box. To stop highlighting, select the arrow next to Text Highlight Color and select Stop Highlighting, or press Esc. Make sure the Shading tab is displayed. Word displays the Borders and Shading dialog box. Use the insertion bar to select and highlight an area of the text you just pasted in Press the FORMAT PAINTER tool to copy the formatting of the area youve selected.
Choose Borders and Shading from the Format menu. (The colors appear to be hard-wired into Word.) You can, however, highlight text in a different way, if you prefer: by using shading. The colors used for highlighting cannot be changed beyond what is offered in the fifteen colors. Word allows you to pick any of fifteen different colors. 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 provides a highlighter tool that allows you to.well, "highlight" text, much as you would do with a highlighter pen on a printed document.