Spacing After Sentences

Written by Allen Wyatt (last updated November 28, 2020)
This tip applies to Word 97, 2000, 2002, and 2003


Some people like to put two spaces at the end of a sentence; other people prefer one. In fact, at times it seems to be the new hot-topic-of-the-day among writers. (The discussion of what was proper and right raged on for a couple days on DailyWordTips this week.)

The purpose of this tip is not to say which spacing preference is correct. The purpose is to signify how you can adjust your typing for the spacing you prefer. The Help Wanted question that resulted in this tip indicated that WordPerfect would enforce either two-space or single-space end-of-sentence spacing based on a configuration setting. Word provides no such setting, but there are things you can do.

First of all, if you are using Word 97 or a later version of Word you can configure the grammar checker to flag any end-of-sentence spacing that doesn't match your preferences. Simply follow these steps:

  1. Choose Options from the Tools menu. Word displays the Options dialog box.
  2. Make sure the Spelling & Grammar tab is displayed. (See Figure 1.)
  3. Figure 1. The Spelling & Grammar tab of the Options dialog box

  4. Click on the Settings button. Word displays the Grammar Settings dialog box. (See Figure 2.)
  5. Figure 2. The Grammar Settings dialog box

  6. Use the Spaces Between Sentences drop-down list to indicate how many spaces you prefer between your sentences.
  7. Click on OK to close the Grammar Settings dialog box.
  8. Click on OK to close the Options dialog box.

Now the grammar checker will flag any sentences that don't conform to your preference with a green wavy underline. When you then right-click on the flagging, you can choose to correct the spacing for that occurrence.

If you want to do mass replacements of your end-of-sentence spacing, the best thing to do is to use the search and replace features of Word. The techniques to do this have been covered in other issues. For those of you who want to automate the process of using search and replace, the following VBA macro is quite handy. It will replace any number of spaces at the end of a sentence with two spaces:

Sub TwoSpaces()
    Selection.Find.ClearFormatting
    Selection.Find.Replacement.ClearFormatting
    With Selection.Find
        .Text = "([.\?\!]) {1,}"
        .Replacement.Text = "\1  "
        .Forward = True
        .Wrap = wdFindContinue
        .Format = False
        .MatchWildcards = True
    End With
    Selection.Find.Execute Replace:=wdReplaceAll
End Sub

If you want to alter the macro so that it ensures all your sentences have only a single space at the end, you can simply change the .Replacement.Text line so there is only one space in the replacement string. Another thing to note about this macro is that it corrects any sentences ending in a period, question mark, or exclamation point; it will not catch and correct any sentences that end in a quote mark.

Finally, just in case you are curious, you cannot use AutoCorrect to change end-of-sentence spacing. Why? Because AutoCorrect uses the space character as a signal to trigger checking what was just typed. Thus, AutoCorrect entries cannot utilize spaces.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (488) applies to Microsoft Word 97, 2000, 2002, and 2003.

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

Counting Precedents and Dependents

Do you need to know how many precedents or dependents there are on a worksheet? You could count them manually, or you ...

Discover More

Changing a Toolbar Button Image

Excel allows you to modify virtually all aspects of its user interface. One of the things you can change is the images ...

Discover More

Using the ABS Function

Need to find the absolute value of a number? That's where the ABS function comes into play.

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2021 or Microsoft 365. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word Step by Step today!

More WordTips (menu)

Controlling Overtype Mode

Some people like to have Word replace previous information as they type; this is called "overtype mode." You can control ...

Discover More

An Automatic Two Spaces after a Period

Should you put two spaces after a sentence or just one? Ask different people and you will get different answers. To Word ...

Discover More

Inserting Foreign Characters

It is not unusual to need to insert foreign characters (often called diacritical marks) as part of your typing. Word ...

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 two minus 0?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.