Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Office 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Reversing Type.
by Allen Wyatt
(last updated December 8, 2018)
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 with various ribbon tools. 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 the Quick Access Toolbar 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.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11971) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Office 365. You can find a version of this tip for the older menu interface of Word here: Reversing Type.
Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!
Legal documents often use automatic line numbering for their documents. If you want to format those line numbers, you can ...Discover More
A common editorial need is to change the capitalization used on different words in a selection of text. Word provides a ...Discover More
Want your company name to always appear in a particular formatted manner? Word provides two ways you can approach the ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.