![]() ![]() 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.)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |