Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. 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: Capitalizing the First Letter after a Colon.
by Allen Wyatt
(last updated January 3, 2018)
Becca asked if there is a way to create a default setting so that the first letter following a colon will always be a capital letter. Unfortunately there is no built-in way to do this in Word. You can, however, create a macro that can be used to step through your document and make sure that each lowercase letter following a colon (and a space) is converted to uppercase.
Sub CapsAfterColon() Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = ": ([a-z])" .Replacement.Text = ": \1" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchWildcards = True .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute While Selection.Find.Found Selection.Range.Case = wdUpperCase Selection.Collapse direction:=wdCollapseEnd Selection.Find.Execute Wend End Sub
The macro uses a wildcard search to find instances of a colon followed by a space and a lowercase letter. For each instance found, the text is converted to uppercase. The macro searches for and changes the case of all such instances in the document.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13032) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Capitalizing the First Letter after a Colon.
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!
Have you ever noticed how Word can decide to add extra spaces when you paste information into your document? This is part ...Discover More
Adding quote marks is normally as simple as typing them from the keyboard. However, if you want to add quote marks around ...Discover More
There are lots of little "gotchas" that can make the difference between a finished document and a polished document. One ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.