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

Quickly Adjusting Paragraph Spacing

by Allen Wyatt
(last updated August 4, 2018)

3

One of the finishing touches that many people need to apply to their documents is to precisely adjust the spacing between their paragraphs to achieve a desired look. Word provides quite a bit of control over the spacing between paragraphs. You do this by adjusting the Before and After values in the Paragraph dialog box.

If you do quite a bit of adjusting space before or after a paragraph, it can become tedious to continually display the Paragraph dialog box and make the adjustments. Unfortunately, Word does not include any keyboard shortcuts that allow you to adjust this type of spacing quickly. However, you can achieve an equivalent ease-of-use by developing your own macros.

For instance, the following macros will adjust the space after a paragraph by a single point.

Sub SAPlus()
   Dim SA As Integer
   SA = Selection.ParagraphFormat.SpaceAfter + 1
   If SA > 1584 Then SA = 1584
   Selection.ParagraphFormat.SpaceAfter = SA
End Sub

Notice that the macro only allows you to increase the space after a paragraph to 1584 points. This is because this is the maximum value allowed by Word; a higher value would generate an error. A slight variation on the macro results in one for decreasing space after a paragraph:

Sub SAMinus()
   Dim SA As Integer
   SA = Selection.ParagraphFormat.SpaceAfter - 1
   If SA < 0 Then SA = 0
   Selection.ParagraphFormat.SpaceAfter = SA
End Sub

Note that these macros could easily be modified to use some other value or formula for calculating the increment or decrement for spacing. For instance, you could add or subtract 6 points at a time, if desired. You could also change the macros so they apply to the space before a paragraph by simply changing every occurrence of "after" to "before."

The final trick to make these macros really useful is to assign them to a keyboard combination or buttons on the toolbar. You can do this using information provided in other issues of WordTips.

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 (8960) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Quickly Adjusting Paragraph Spacing.

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

Understanding Number Formatting Codes

When creating custom formats, you can employ a wide range of codes to define your formatting pattern. This tip focuses on ...

Discover More

Converting Text to Numbers

Import information from a program external to Excel, and your numbers may be treated as text because of the way that the ...

Discover More

Combining Word Documents

At some point you may want to insert one Word document inside another Word document. An easy way to do this is to use the ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

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

Extending a Paragraph into the Left Margin

Word allows you to format a paragraph so that it extends into the left margin of the document. This is done by setting a ...

Discover More

Adjusting Space Before

If you need to adjust the space that appears before a paragraph, there are several ways you can approach the adjustment. ...

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 9 - 6?

2013-08-26 07:53:15

Bryan

@Bruno V: when I copy/paste the code I get the compile error as well, but if you manually type it the error does not appear. It seems that Allen used an n-dash instead of a minus sign, and the VBA IDE doesn't handle it correctly. Simply delete it then enter a minus sign from your keyboard.


2013-08-24 10:22:31

Aprile Morgan

Rather than writing a macro, it would be much simpler to just use a style. For example, for plain text paragraphs with 12pt after, you could use Body Text style. Once you set up the style with the appropriate spacing after (or before if you desire), you can then select the paragraphs and then choose the Body Text style and voila! your paragraphs have your desired spacing


2013-08-24 06:25:13

Bruno V

Hi, this is a wonderful tip. It works impeccably for adding a point. But reducing by a point (copy and paste of macro above) generates a compile error. I have tried to remove the space between - and 1, but same problem. The thing is that I often find myself manually reducing (and not so much adding) spaces after a paragraph, so am keen on hearing how to solve the error...


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.