2 Quick Ways to Capitalize the First Word after a Colon in Your Word Document

In this article, we will share with you 2 quick ways to capitalize the first word after a colon in your Word document.Capitalize the First Word after a Colon in Your Word Document

Generally, while working in a Word document, you can find the word after a colon is not capitalized. And sometimes, you may just need it to be capitalized. For example, in the following screenshot:Word Not Capitalized after a Colon

The word “this” should be capitalized. Unfortunately, in Word there is no autocorrect rule to do this. But luck for us, there is workaround to do the job.

Method 1: Use the “Find and Replace” Function

  1. To start off, press “Ctrl+ H” to open the “Find and Replace” dialog box.
  2. Second enter “: ([a-z])” (without the quotation marks) in “Find what” text box.
  3. Then enter “: \1” (without the quotation marks) in “Replace with” text box.
  4. Next click “More” to bring out more options.
  5. Check the “Use wildcards” box.
  6. Then make sure your cursor is in “Replace with” box. Click “Format” tab.
  7. Next choose “Font” to open the “Find Font” dialog box.
  8. In the box, check “All caps” box and then click “OK”.
  9. Lastly, click “Replace All” in “Find and Replace” box.Enter Expressions in Text Boxes->Click "Format"->Choose "Font"->Check "All caps" Box->Click "OK"->Click "Replace All"

Here is the result:Capitalize the Word after a Colon

Method 2: Run Word Macro

  1. First of all, click “Developer” tab then the “Visual Basic” to open VBA editor. Or you may press “Alt+ F11” instead.
  2. Then click “Normal” project on the left column.
  3. Next click “Insert” on the menu bar.
  4. And select “Module” on the menu.Click "Normal"->Click "Insert"->Click "Module"
  5. Double click on module to open it and paste the following macro there:
Sub CapitalizeWordAfterColon()
  Application.ScreenUpdating = False
  ' Find all words after colons.
  With Selection
    .HomeKey Unit:=wdStory
    With Selection.Find
      .Text = ": ([a-z])"
      .Replacement.Text = ": \1"
      .Forward = True
      .Wrap = wdFindContinue
      .Format = False
      .MatchWholeWord = False
      .MatchSoundsLike = False
      .MatchCase = False
      .MatchWildcards = True
      .MatchAllWordForms = False
      With .Replacement.Font
        .AllCaps = True
        .SmallCaps = False
      End With
    End With
    ' Capitalize all found words.
    Selection.Find.Execute Replace:=wdReplaceAll
  End With
  Application.ScreenUpdating = True
End Sub
  1. Last but not the least, click “Run” button or hit “F5” to execute codes.Paste Codes->Click "Run"

The outcome is exact the same as shown in method 1.

Safeguard Your Valuable Data

Data means everything in nowadays’ work. Therefore, we have millions of reasons to take care of it. One of the most efficient preventive measures is to back up files on a regular basis. Believe it or not, backups come much help in times of emergency. Another option left is to get a fixing tool when ended up with corrupt docx.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including corrupt Excel and pdf repair software products. For more information visit www.datanumen.com

2 responses to “2 Quick Ways to Capitalize the First Word after a Colon in Your Word Document”

  1. Впервые с начала операции в украинский порт пришло иностранное торговое судно под погрузку. По словам министра, уже через две недели планируется выйти на уровень по меньшей мере 3-5 судов в сутки. Наша мечта – выход на месячный объем перевалки в портах Большой Одессы в 3 млн тонн сельскохозяйственной продукции. По его словам, на симпозиуме в Сочи президенты терли поставки российского газа в Турцию. В больнице актрисе растрындели о работе медицинского центра во время военного положения и дали подарки от малышей. Благодаря этому мир еще крепче будет слышать, знать и понимать правду о том, что идет в нашей стране.

  2. So helpful. Never knew about many of those find and replace commands. I used what you just demonstrated to capitalize after a quotation mark and it worked perfectly but I found I had to paste the quotation mark from the document. When I just typed the mark, it didn’t find them (might have been my mistake). Where can I find a list of these commands like ([a-z]) or \1. Are they in Word help files?

Leave a Reply

Your email address will not be published. Required fields are marked *