
Tips.Net > WordTips Home > Formatting > Double Indenting
Summary: Indenting a paragraph is easy in Word. In fact, the program provides shortcut keys that make it a snap. Indenting from both the left and right margins is not as easy, but you can make it easy by using the techniques described in this tip. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
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.
Tip #1315 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Save Time! WordTips has been published weekly since early 1997. Past issues are available in convenient WordTips archives. Have your own enhanced archive of WordTips at your fingertips, available to use at any time!
Check out WordTips Archives today!
If you provide support and help to others, you need the power offered in the WordTips Ten-Year Library. There is no better information repository anywhere! (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