Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. 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: Capitals After Colons.

Capitals After Colons

Written by Allen Wyatt (last updated October 16, 2021)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

Word includes many grammar and spelling aids to help make the job of writing just a bit easier. (Or more frustrating, depending on your viewpoint and needs.) One thing that Word did not include, however, was a feature to automatically capitalize the first word after a colon. In some (but not all) grammatical circles, it is standard and proper to capitalize the first letter of the word immediately following a colon. Since Word does not include this feature, what is a person to do?

Well, the first (and obvious) solution is to simply remember to capitalize the word yourself—i.e., press the Shift key and capitalize the letter as you type. If you are looking for a more automatic approach, then there are several methods from which you can choose. Some Word users might be inclined to think you could use Word's AutoCorrect feature. Theoretically, all you need to do is define a series of new AutoCorrect entries that consist of a colon, followed by a space, and then a lowercase letter. You would then instruct AutoCorrect to replace this sequence with a colon, a space, and the corresponding uppercase letter. Of course, you would have to add 26 such entries, one for each letter of the alphabet.

After doing all this work in AutoCorrect, however, you would immediately find out that it did not work. Why? Because AutoCorrect only uses spaces and punctuation as "triggers" to signal a change may be needed. In other words, the AutoCorrect approach would work if you were typing a colon, a space, a lowercase character, and then another space. This means that in the phrase "this is: a dirty shame" the letter "a" would be replaced by AutoCorrect with an uppercase "A". However, in the phrase "this is: another dirty shame," AutoCorrect does no correction at all. Thus, AutoCorrect can't be used to achieve the desired results.

The only other solution is to use a macro to double-check your document and automatically capitalize any letters following colons, just in case you missed them while typing. The macro could make use of the wildcard feature of the Search and Replace function, as follows:

Sub CapAfterColons()
    With ActiveDocument.Range.Find
        .ClearFormatting
        With .Replacement.Font
            .SmallCaps = False
            .AllCaps = True
        End With

        .MatchWildcards = True
        .Text = ": ([a-z])"
        .Replacement.Text = ": \1"
        .Execute Replace:=wdReplaceAll
    End With
End Sub

You could assign this macro to a button on your toolbar, and thereby catch all your mistakes in one quick step. There is one thing to be aware of with this macro: it does not change the first character after a colon to a "true" capital letter. What it does is to change the formatting of the colon, space, and first character to All Caps. This means that the character, even though lowercase, is displayed by Word as uppercase. (You can see this formatting setting in the Font dialog box.)

As a final suggestion, if you don't like to mess with macros, you can still use the AutoCorrect feature, but this time a little differently. Set up AutoCorrect to replace any instance of a colon with a colon-period combination. Thus, as you are typing, when you type a colon followed by a space, Word automatically changes it to a colon followed by a period and then a space. Word's AutoCorrect feature will then, automatically, capitalize the next letter you type since it believes it is the first letter of a sentence. (After all, it follows a period.) When you are done with your document, all you need to do is one quick search and replace to change the colon-period pairs back to just a colon.

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 (13352) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Capitals After Colons.

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

Quickly Inserting Tables that Don't Go From Margin to Margin

Adding a table to your document is easy. Adding one that doesn't extend from margin to margin may seem a bit harder. ...

Discover More

Can't Use AutoRecover with a Document

Having trouble getting Word to save your AutoRecover documents? Don't turn the feature off; try the techniques described ...

Discover More

Enhancing Word Documents with Dynamic Fields (Table of Contents)

Add a field to your document and you add dynamic content. Word provides a wide variety of fields that can be used in a ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Adding Tabs at the Beginning of a Line

Press a tab at the beginning of a paragraph, and Word normally assumes you want to indent the paragraph. If you don't ...

Discover More

Deleting a Range of Pages

Need to delete a range of pages out of the middle of your document? It's easy to do using editing techniques you already ...

Discover More

Consistent Spacing

It is a good idea to make sure that the spacing following each sentence in your document is consistent. Here's a handy ...

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

2021-10-18 09:54:19

Andrew

This could also be done with a regular search outside of a macro, using the same method as is in the macro. And it can also be done without using a wildcard search by searching for a colon followed by a space followed by any letter (i.e., ": ^$") and replacing it with the found text (i.e., "^&") formatted as all upper case like in the macro.


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.

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.