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

Creating a Log/Log Chart

If you need to create a chart that uses logarithmic values on both axes, it can be confusing how to get what you want. ...

Discover More

Forcing Excel to Sort Cells as Text

If you have a mixture of numbers and text in a column and you want to sort based upon that column, the results may not be ...

Discover More

Should I Leave My Computer On All the Time?

Do you turn your computer on and off all the time? Do you really know if this is good for your computer or not?

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)

Determining the Upper Bounds of an Array

When working with variables in a macro, you may need to know the upper boundary dimension for an array. This can be ...

Discover More

Determining Differences Between Dates

Do you need to do some simple math using dates in a your macro? One of the easy functions you can use is the DateDiff ...

Discover More

Dissecting a String

Want to pull a string apart in a macro? It's easy using the string functions introduced 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 five more than 3?

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.