Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 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.

Reversing Type

Written by Allen Wyatt (last updated February 8, 2025)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Word in Microsoft 365


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.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the WordTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

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, 2021, 2024, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Reversing Type.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Determining the Hour of the Day

Need to figure out the hour represented by a particular time value? It's easy to do in a macro; just use the Hour ...

Discover More

Separating a Date into Component Columns

Do you need a way to split dates out into the individual parts that make up that date? This tip provides two easy ways ...

Discover More

Jumping to a Table Row

Need to jump to a particular row in a table? Word provides an easy way to jump to all sorts of things, but it doesn't ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More WordTips (ribbon)

Formatting Line Numbers

Legal documents often use automatic line numbering for their documents. If you want to format those line numbers, you can ...

Discover More

Making a Signature Line that Doesn't Disappear

Do you need to add a line to your document that indicates where a signature should be made? If you don't want that line ...

Discover More

Getting Identical Margins

Need to get the margins on your document exactly right? It can be a challenge to get the Word settings where you need ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five minus 4?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

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.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.