Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Quickly Adjusting Paragraph Spacing.

Quickly Adjusting Paragraph Spacing

Written by Allen Wyatt (last updated July 21, 2021)
This tip applies to Word 97, 2000, 2002, and 2003


1

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. You can, however, 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 (1669) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) 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

Displaying the Ruler

The ubiquitous ruler appears at the top of every Word document. It is so common place, that you may forget that it is ...

Discover More

Determining a Random Value

Random values are often needed when working with certain types of data. When you need to generate a random value in a ...

Discover More

Ignoring Case in a Comparison

Do you want Excel to take the case of your text into account when it does comparisons in a formula? The IF statement ...

Discover More

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!

More WordTips (menu)

Stubborn Phantom Paragraphs

When converting documents from WordPerfect to Word, you may run into a problem with what the conversion produces. If you ...

Discover More

Controlling Widows and Orphans

Got singular lines at the bottom or top of a page? These are often referred to as widows and orphans, and Word allows you ...

Discover More

Aligning Borders with the Page Margins

Add a border to a paragraph and you may find that it extends to the left and right of the regular text margins. To pull ...

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 9 + 3?

2016-03-12 20:30:52

duane

Great idea. This has bugged me years, but I've just lived with it (using a combination of style and format painter as weak attempts). Thanks a lot.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon 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.