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

by Allen Wyatt
(last updated October 16, 2021)

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

Controlling How Excel Interprets Percentages

When entering data in a worksheet, Excel tries to figure out how your entry can best be shown on the screen. When it ...

Discover More

Getting Help when Entering Functions

Need a quick memory jog when entering a worksheet function? Here's a shortcut that will be invaluable.

Discover More

Getting a List of Matching Cells

The Find and Replace capabilities of Excel allow you to easily locate all the cells in a worksheet that contain specific ...

Discover More

The First and Last Word on Word! Bestselling For Dummies author Dan Gookin puts his usual fun and friendly candor back to work to show you how to navigate Word 2013. Spend more time working and less time trying to figure it all out! Check out Word 2013 For Dummies today!

More WordTips (ribbon)

What Line Am I On?

At the bottom of your document, on the status bar, Word allows you to include an indicator of the line on which your ...

Discover More

Jumping Back in a Long Document

Navigating quickly and easily around a document becomes critical as the document becomes larger and larger. This tip ...

Discover More

Automatically Selecting Words

When editing a document, Word normally selects entire words as you use the mouse to select text. This tip explains why ...

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 four more than 1?

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.