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: Dealing with Run-On Sentences.

Dealing with Run-On Sentences

Written by Allen Wyatt (last updated January 5, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

Mia often edits documents containing run-on sentences. Invariably these are two sentences that are currently joined by a comma. Mia wants to replace the comma with a period and then capitalize the first letter of the next word. Doing this manually gets repetitive and time-consuming, so she would like to create a macro and a keyboard shortcut to handle the process.

You could actually record a macro to handle this type of edit. Put your insertion point to the left of the comma and start the macro recorder. You can then perform these steps:

  1. Hold down the Shift key as you press the Right Arrow key to select the comma.
  2. Press a period. This replaces the comma with the requisite period.
  3. Press the Right Arrow once. This should move past the space and put the insertion point just to the left of the character you want to capitalize.
  4. Hold down the Shift key as you press the Right Arrow key to select the character.
  5. Display the Home tab of the ribbon.
  6. Click Change Case in the Font group.

You can now stop the macro recorder. The macro could be assigned to a shortcut key or added to the Quick Access Toolbar. If you examine the macro, you will find that it looks similar to the following:

Sub FixRunOn()
    Selection.MoveRight Unit:=wdCharacter, _
      Count:=1, Extend:=wdExtend
    Selection.TypeText Text:="."
    Selection.MoveRight Unit:=wdCharacter, _
      Count:=1
    Selection.MoveRight Unit:=wdCharacter, _
      Count:=1, Extend:=wdExtend
    Selection.Range.Case = wdUpperCase
End Sub

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 (10558) 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: Dealing with Run-On Sentences.

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

Using the Spike to Edit

Most Word users are proficient in cutting and pasting text using the Clipboard. One of the lesser-known editing tools, ...

Discover More

Inserting and Copying Rows

Want an easy way to insert a new row in a worksheet and copy everything from the row above? (You end up with two ...

Discover More

Pop-Up Comments for Graphics

Excel allows you to add comments to individual cells in a worksheet, but what if you want to add comments to graphics? ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Using an En Dash, by Default

In publishing, it is common practice to indicate a range of numbers by using an en dash between the first number and the ...

Discover More

Selecting a Group of Words

Want to select a chunk of text in a document? Perhaps the easiest way to do this involves using the mouse in conjunction ...

Discover More

Selecting a Sentence

Need to select an entire sentence? It's easy by making one small adjustment to how you click the mouse.

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 2 + 8?

2019-02-25 14:19:41

Malcolm Patterson

Step 6 can also be performed by pressing SHIFT+F3, which toggles the case of selected text from lowercase to initial cap to all caps and back to lowercase. If text is not selected but the cursor is within a word, then that word's case changes. (I generally prefer a key combination to a mouse click.)


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.