Removing Shortcuts for Macros

Written by Allen Wyatt (last updated January 23, 2023)
This tip applies to Word 2007 and 2010


2

Word doesn't show the keyboard shortcuts that Barry has associated with macros, so he wonders how he is supposed to remove the shortcuts. He has read about how he is supposed to remove keyboard shortcuts associated with macros (i.e., Office button | Options | Customize | Keyboard Customize; select Macros on the left, and select a given macro on the right). However, the "current keys" box remains blank when Barry selects a given macro, even though when editing he can press the shortcut sequence and the macro runs. He wonders how he can delete the shortcut associated with a macro since it's not showing up in the "current keys" box.

This does, indeed, seem to be a problem with Word. One can assume that it will be fixed in a future update to the program, but that doesn't help with getting the shortcut removed now. The following general steps may help:

  1. Display the VBA Editor.
  2. Copy the macro code associated with the shortcut.
  3. Paste the macro code into a Notepad document.
  4. Delete the macro code from the VBA Editor.
  5. Save and close the document.
  6. Restart Word.
  7. Open the document.
  8. Try the shortcut.
  9. Save and close the document.
  10. Exit Word.

The purpose of these steps is to force Word to conclude that the macro associated with the shortcut is no longer available, and thus delete the shortcut. After these steps, you should theoretically be able to go back into the VBA Editor and put the macro code back into it, and the shortcut should be gone.

If it is not gone, then the problem may best be solved by fiddling around with the Normal template. Create a new, empty template (using a different name than Normal), and then transfer all your macros and styles from Normal to the new template. Then, rename Normal to something else and rename the new template as your Normal template. When you restart Word, you then have all your macros and styles, but any custom shortcuts should now be gone. (They are stored in the Normal template, but there is no easy way to transfer them from one template to another.)

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11919) applies to Microsoft Word 2007 and 2010.

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 Print Preview

The Print Preview feature can be a great way to see how something will look on paper without actually using any paper. ...

Discover More

Automatically Changing Tab Stops in the Footer

If you use a tab stop in your footer to align information at the right margin, you may not get what you expect when you ...

Discover More

Selecting a Graphic that is Behind Text

Position a graphic so that it is "behind" your text, and it may seem like you can no longer select the graphic. Here's ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (ribbon)

Changing Directories in a Macro

When a macro works with files, it often has to change between different directories on your disk drive. This is done ...

Discover More

Creating a Document Font List

If you want a list of all the fonts used in a document, the answer isn't as simple as you may think. This tip uses macros ...

Discover More

Reversing a String

Need to reverse all the characters in a string? You can do so by using the function described in this tip.

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 7 - 6?

2017-08-17 05:32:43

Ethan Hack

I can see keyboard shortcuts for macros, so this is not a universal problem. Could there be something in Word configuration that causes it?


2012-07-16 16:36:34

Derek Brown

Maybe it varies with the version of Word being used, but I've always found that changing the name of the macro cuts the link.


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.