bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Formatting > Paragraph Formatting > Reversing Type

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!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home
Vital News Home

WordTips FAQ
WordTips Premium

Learn Access Now

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

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)