KSotD: Adding Custom Keyboard Shortcuts in Word

[ ksotd word ]

This post is another “administrative” KSotD entry, setting the stage for specific keyboard shortcuts to come.

Word is unique among the major Office applications in that you can freely (re)define any keyboard shortcuts you wish. (Powerpoint has no support that I’ve found for custom keyboard shortcuts; Excel at least lets you attach Ctrl+{letter} shortcuts to macros.) Shortcut definitions are managed through the Customize Keyboard dialog, which I usually access as follows:

  1. Select More Commands... from the Customize Quick Access Toolbar drop-down:

Click path for More Commands...
  

  1. Click Customize Ribbon in the left-hand pane, and then Customize... next to “Keyboard shortcuts:” at the bottom of the options dialog:

Click path for Customize Keyboard Shortcuts
  (Click to enlarge)

This will display the Customize Keyboard dialog:

Customize Keyboard dialog
  

From here, you can select essentially any command that Word knows how to execute and both (a) see what keyboard shortcut(s), if any, are assigned to it; and (b) (de-/re-)assign shortcut(s) as you see fit, including many shortcuts that are defined by default.

The commands are generally categorized by where they appear in the Ribbon; that’s the first place to check. Some commands aren’t listed under any Ribbon tab categories, though, so for those you have to hunt through the “All Commands” or “Commands Not in the Ribbon” categories:

All Commands listing
  

Adding shortcuts to macros is done via the “Macros” category:

All Commands listing
  

Removing shortcuts is straightforward: select the currently assigned shortcut and click Remove. The workflow for adding shortcuts is pretty intuitive: click into the Press new shortcut key: box and press the key combination you want. The dialog will tell you what that key combination is assigned to, if anything. Be sure to click Assign once you’ve got the shortcut you want.

Note that Word supports two-step key combinations, such as Ctrl+',A (the default for inserting \(\mathrm{\acute A}\)). In this case, the initial Ctrl+' keypress is referred to as a [prefix key], and shows up as such in the Currently assigned to: field:

Showing [prefix key]
  

Hugely, hugely helpful. Many of the entries in the KSotD series will be custom-defined shortcuts, some to built-in Word functionality and some to custom macros.

This post was written with StackEdit.

Written on June 27, 2018