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

Understanding Frames and Text Boxes

What is the difference between frames and text boxes? Why use one over the other? Find out here.

Discover More

Microsoft Word VBA Guidebook (Table of Contents)

Creating Word macros allows you to extend your productivity with Word. Visual Basic for Applications (VBA) is the ...

Discover More

Using a Two-Character Day of the Week in a Date Format

Excel provides quite a bit of flexibility in how you can format dates. Even so, some dates simply cannot be formatted ...

Discover More

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

More WordTips (menu)

Non-breaking Em Dashes

Need an em dash to be "sticky" on both ends of the dash? Word doesn't provide such formatting, but there are a few ...

Discover More

Inserting a Section Mark

Section marks are used regularly in the writings of some industries, such as in legal documents. If you need a way to ...

Discover More

Unable to Edit Document with Embedded Fonts

What are you to do if you embed fonts in a document and then someone else cannot make changes to that document? Chances ...

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 one less than 9?

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.