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

Double Indenting

by Allen Wyatt
(last updated June 25, 2018)

4

In many businesses (such as the legal profession) it is important to be able to indent paragraphs from both the left and right margins. This helps to offset information from the foregoing and following text so it stands out better. This type of paragraph formatting is often applied to quotations and other "verbatim" information included in a document.

Unfortunately, Word does not include a quick shortcut to create a double indent. You can press Ctrl+M, but that indents only the left side of a paragraph. You are still stuck using the Paragraph dialog box or the Ruler to indent the right side.

One way around this is to create a style in Word that has the necessary indents on both the left and right side. The style can then be assigned to a keyboard shortcut so you can apply it easily. This approach can be very powerful, especially if you think you may need to change the margins on double-indented paragraphs at a later time.

Another approach is to create a macro that does the indenting for you. You can then assign the macro to a keyboard shortcut (such as Alt+D) so it can be invoked easily. The following macro will increase both the left and right indent of a paragraph by a quarter-inch.

Sub DoubleIndent()
    Dim Lindt as Single
    Dim Rindt as Single

    Lindt = Selection.ParagraphFormat.LeftIndent
    Rindt = Selection.ParagraphFormat.RightIndent
    Lindt = Lindt + 18
    If Lindt > 180 Then Lindt = 0
    Rindt = Rindt + 18
    If Rindt > 180 Then Rindt = 0
    Selection.ParagraphFormat.LeftIndent = Lindt
    Selection.ParagraphFormat.RightIndent = Rindt
End Sub

The nifty thing about this macro is that you can repeatedly apply it and continue to step the margins inward. When you try to increase the margins beyond 2.5 inches on each side, the indents are automatically set back to zero and the process can start again.

Note that the macro changes nothing else about the paragraph—just the left and right margins. If you want it to change some other formatting characteristic, the macro is easy enough to modify. For instance, if you wanted it to make the paragraph justified to both the left and right margin, you could add the following single line just before the "End Sub" line at the end of the macro:

    .Alignment = wdAlignParagraphJustify

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 (10733) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Double Indenting.

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

Reducing File Sizes for Workbooks with PivotTables

Need to reduce the size of your workbooks that contain PivotTables? Here's something you can try to minimize the ...

Discover More

Counting Colors from Conditional Formats

Conditional formatting is a great way to make sure that your information looks a particular way, even if the information ...

Discover More

Default Sort Order in the Open Dialog Box

When you want to open a file within Word, the normal way is by displaying the Open dialog box. If you want to modify the ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Compound List Formatting

Word can help you do quite a bit of complex formatting to your lists, both bulleted and numbered. Using the steps ...

Discover More

Paragraph Formatting Shortcuts

Paragraphs are one of the elemental building blocks in a Word document. Formatting those paragraphs is easy to do if you ...

Discover More

Removing Shading from Many Paragraphs

Need to format a bunch of paragraphs within your document? Word provides some very easy ways to apply the same formatting ...

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}] 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 0 + 2?

2015-08-16 23:40:56

Richwood7

I liked this but thought having to go through the whole cycle to go back one step was silly so I also rewrote it (not knowing what I was doing it took several tries) so I now have an icon called DblIndPlus and DblIndMin (min short for minus) so now I can move both sides in 4 and then if I think three was better I hit DbleIndentMin and it goes back out one step (or two, three etc).


2015-07-31 19:49:00

Len Babin

I love this solution and I use it lots. I would like a version with full-justify (which I always do). What do I have to add?

Len
How about with the text in a box (I know - I'm getting wonky now)


2015-07-22 00:14:23

NSacksC

Thank you. I look forward to reading your contributions toward making WORD easier to use.

Question: I use it with the iMAC. The version seems a little unstable. Sometimes I am typing and bingo I find I have typed a sentence three inches north or south of where I thought I was. Does that happen to everybody?

How can I stabilize my Word docx? Should you "save" every few minutes. Will that help?

Thank you. NC


2015-07-20 04:12:35

Andrew

I like the macro - however, I think it goes too far before resetting. Easily changed of course.


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.

Newest Tips
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.