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.
by Allen Wyatt
(last updated August 4, 2018)
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.
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.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
If you want Word to justify paragraphs in the same way that it is done in WordPerfect, you'll want to apply the steps in ...Discover More
Single line spacing, the default spacing used in a paragraph, allows Word to adjust the spacing of individual lines in a ...Discover More
Do you have some mysterious and unwanted boxes showing up around the paragraphs in your document? Here are some ideas on ...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.