Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. 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: Inserting Text with a Shortcut Key.

Inserting Text with a Shortcut Key

Written by Allen Wyatt (last updated October 14, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021


1

Brendan would like to know if there is a way to assign a shortcut of his choosing, say Ctrl+J, to a sentence. This would mean every time he hits Ctrl+J, it would paste that sentence. Brendan knows about AutoText and Building Blocks, but he can't see a way to assign a shortcut like Ctrl+J to a particular AutoText entry or Building Block.

For all intents and purposes (well, at least for Brendan's purposes), there is no difference between an AutoText entry and a Building Block. It is just that in older versions of Word you used AutoText, and in newer versions you use Building Blocks. Fortunately for Brendan, Building Blocks include sort of a built-in shortcut key. Once you create the Building Block entry, you can type the mnemonic for the entry and press F3. Word expands the mnemonic to its longer form. If you want to have a special shortcut key for a particular Building Block, you can follow these steps:

  1. Define your AutoText entry or Building Block as you normally would.
  2. Display the Word Options dialog box. (In Word 2007 click the Office button and then click Word Options. In later versions, display the File tab of the ribbon and then click Options.)
  3. At the left of the dialog box click Customize (Word 2007) or Customize Ribbon (later versions).
  4. Click the Customize button, near the bottom left of the dialog box. Word displays the Customize Keyboard dialog box. (See Figure 1.)
  5. Figure 1. The Customize Keyboard dialog box.

  6. Position the insertion point in the Press New Shortcut Key text box.
  7. Press the shortcut key you want to use. For instance, if you want to use Ctrl+J, then press Ctrl+J. Just below the Current Keys text box you should see the name of any commands currently using this shortcut. (In this case, Ctrl+J is used to justify a paragraph so you may want to use a different shortcut.)
  8. In the Categories list, scroll down near the bottom of the list and select either Building Blocks or AutoText, depending on your version of Word. The defined Building Blocks (or AutoText entries) appear at the right side of the dialog box.
  9. In the list of Building Blocks (or AutoText entries), select the one you defined in step 1.
  10. Click the Assign button to assign the shortcut.
  11. Click on Close to dismiss the Customize Keyboard dialog box.
  12. Click on Cancel to dismiss the Word Options dialog box.

There are other options besides using Building Blocks, however. You could, of course, record a macro of you typing the desired text. The macro could then be assigned to a shortcut key and would be replayed (again typing the text) anytime you invoke the shortcut key.

Perhaps the easiest alternative, however, is to create an AutoCorrect entry for your text. All you need to do is come up with a non-ambiguous series of keystrokes, such as cj, and then have Word replace that text with something else. In other words, the program can "correct" the characters cj, replacing them with the longer sentence. There is no shortcut key to remember in this instance, just the short text you want "corrected." (How you create Autocorrect entries has been discussed in other issues of WordTips.)

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (6829) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Word here: Inserting Text with a Shortcut Key.

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

Counting Odds and Evens

If you have a series of values in a range of cells, you may wonder how many of those values are even and how many are ...

Discover More

Opening a Workbook and Suppressing Automatic Macros

Want to stop Excel from running any automatic macros that may be stored with a workbook? Here's how to do it.

Discover More

Fonts Missing in Word

What are you to do if you find that you have no fonts available in Word, but they are available in other programs? There ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (ribbon)

Restoring AutoText Entries via Macro

AutoText has been a powerful feature in Word for decades. If you've spent countless hours developing your AutoText ...

Discover More

Changing Fonts for AutoText Entries

If you use AutoText entries a lot, you may wonder if you can change the formatting stored with your existing entries. The ...

Discover More

Backing Up Your AutoText Entries

Got a bunch of AutoText entries defined for your system? You'll undoubtedly want to back them up at some time. Here's how ...

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 five more than 3?

2024-03-27 10:51:07

Ann

Your tips are always useful and precise. This is the first place I look for answers.


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.