
Tips.Net > WordTips Home > Formatting > Paragraph Formatting > Reversing Type
Summary: How to make type appear white on a black background. (This tip works with Microsoft Word 97, Word 2000, Word 2002, and Word 2003.)
There may be a time when you want to "reverse" the type in a particular paragraph. For instance, you may want the paragraph to show as white text on a black background. This can be done easily using both the Patterns tab of the Borders and Shading dialog box and the Font dialog box. If you want to do it in one easy step, however, you can use this VBA macro:
Sub Reverse()
Selection.StartOf Unit:=wdParagraph, Extend:=wdMove
Selection.MoveEnd Unit:=wdParagraph
Selection.ParagraphFormat.Shading.BackgroundPatternColorIndex = wdBlack
Selection.Font.ColorIndex = wdWhite
End Sub
All you need to do is place the insertion point somewhere within the paragraph, and then run the macro. As with most any macro, you can assign it to a toolbar button or a shortcut key so you can use it quickly.
Of course, the only real reason to use a macro such as this is if you don't use styles and templates for your documents. If you do, then you should accomplish the same functionality by simply defining a style that shows the paragraph in "reverse" type. Whenever you apply the style, the paragraph appears in the desired format.
Tip #612 applies to Microsoft Word versions: 97 2000 2002 2003
Create and Merge! Using Word's mail merge tool you can quickly and easily combine data from a variety of data sources to create great individualized documents that incorporate your data in ways that you control. WordTips: Mail Merge Magic is an invaluable source for learning how to harness the full power of Word's mail merging capabilities.
Check out WordTips: Mail Merge Magic today!
Word includes two powerful search engines. Do you know how to use them both? You can discover new knowledge with WordTips: Find and Replace. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips