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.
Written by Allen Wyatt (last updated October 16, 2021)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365
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:
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.
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!
Have you ever noticed that when you use Ctrl+PgDn or Ctrl+PgUp that Word may give you results you didn't expect. Here's ...
Discover MoreIt is not uncommon to copy information found on the web and then paste that information into a Word document. Do so, ...
Discover MoreSome people like to have Word replace previous information as they type; this is called 'overtype mode.' You can control ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments