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

Understanding the Hot Zone

Need to hyphenate your document? Then you need to know about the hot zone because it controls how words are hyphenated

Discover More

Entering a Name in the Header of a Locked Form

When you lock a document as a form, then Word limits what you can do with that document. That includes not being able to ...

Discover More

Can't Select Style Instances

Using the Styles and Formatting task pane, Word allows you to select all instances of a given style in your document. ...

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)

Writing a Macro from Scratch

Creating macros can help extend what you can do in Word. If you work with macros, you know that creating macros from ...

Discover More

Cleaning Up Text in a Macro

Need to remove extraneous characters from a text string? VBA makes it easy through the CleanString method, described in ...

Discover More

Deleting a Macro

Macros are often created to accomplish a specific task, after which they are no longer needed. If you need to delete a ...

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 four minus 0?

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.