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

Inserting and Deleting Footnotes

Footnotes are essential in some types of writing. When you need to add footnotes to your documents, you'll appreciate the ...

Discover More

The EDATE Function

Want to figure a date a certain number of months in the future or past? The EDATE function may be just what you need for ...

Discover More

Finding the Nth Root of a Number

Finding a square root is easy because Excel provides a worksheet function for that purpose. Finding a different root may ...

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 (ribbon)

Understanding Smart Cut and Paste

Editing is generally made easier by a feature that Word calls smart cut and paste. If you prefer, you can turn the ...

Discover More

Putting a Bullet in the Middle of a Sentence

Need a special character (such as a bullet) in the middle of your text? Here are two quick ways to enter the character ...

Discover More

Adding Parentheses

Need to add parentheses around some word or phrase? Here's a quick macro that makes this simple edit in one step.

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 minus 4?

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.