Why Do Keyboard Shortcut Assignments for Macros Disappear?

  • Thread starter Musawwir Spiegel
  • Start date
M

Musawwir Spiegel

I am using Word 2007 on a PC running Windows 7.

I have created a number of macros and assigned them keyboard
shortcuts. However, for some reason I don't understand, the keyboard
shortcuts disappear.

Every time I have created the keyboard shortcuts I have saved the
Normal.dotm file where the shortcuts are supposed to be stored.

I don't know what event triggers the disappearance of the keyboard
shortcuts. I just experimented in creating one and then closing Word.
When I reopened the program the keyboard shortcut I had created was
still operable. I then tried re-booting the computer and it still
worked. Nevertheless, from the way things have gone on I am sure that
it would disappear, possibly on the next full moon.

Does anybody have an explanation and solution?

By the way, is there a macro that would take me from a regulare
document screen right to the place in Word Options/Customize/Keyboard
Shortcuts page, thereby avoiding all of those mouse clicks?

Musawwir Spiegel
(e-mail address removed)
 
L

Larry Sulky

I am using Word 2007 on a PC running Windows 7.

I have created a number of macros and assigned them keyboard
shortcuts.  However, for some reason I don't understand, the keyboard
shortcuts disappear.  

Every time I have created the keyboard shortcuts I have saved the
Normal.dotm file where the shortcuts are supposed to be stored.

I don't know what event triggers the disappearance of the keyboard
shortcuts.  I just experimented in creating one and then closing Word.
When I reopened the program the keyboard shortcut I had created was
still operable.  I then tried re-booting the computer and it still
worked.  Nevertheless, from the way things have gone on I am sure that
it would disappear, possibly on the next full moon.

Does anybody have an explanation and solution?

By the way, is there a macro that would take me from a regulare
document screen right to the place in Word Options/Customize/Keyboard
Shortcuts page, thereby avoiding all of those mouse clicks?

Musawwir Spiegel
(e-mail address removed)


You might be saving the macros in your Normal template, which is a bad
place to save macros and keyboard shortcuts. The Normal template gets
rebuilt from time to time for various reasons, and your customizations
will be lost. When you create macros and keyboard shortcuts, make sure
you are setting them to go into the document or into a separate
template file; there is a selection field ("Save Changes In:) in the
dialogue box to do this.

Sub ShowToolsCustomizeKeyboard()
Dialogs(wdDialogToolsCustomizeKeyboard).Show
End Sub
 
D

dedawson

I have to disagree on not storing macros and keyboard shortcuts in
normal.dot. This is exactly where one wants to store them to make
them available from any and all documents. The last thing one wants
is a situation in which a copy of a macro needs to be propagated to
every document it might be employed in. Worse, if the macro needs to
be changed, it would need to be changed everywhere.

I've done tons of customizations over the years, and have never had my
Normal.dot rebuilt outside of my control (though I've done it on
purpose a couple of times) nor have I heard of anyone having it happen
to them. I would suggest, however, enabling the option to 'Always
create a backup', as this applies to Normal.dot also. That way, if
something bad does happen, you can simply delete Normal.dot and rename
Normal.wbk to Normal.dot and you're back in business.
 
G

Graham Mayor

The normal template for Word 2007 is normal.dotm, but, that aside, it is
safer to store macros in a global add-in template or the template of the
documents that require them, rather than in a the normal template -
especially in a corporate environment where the normal template may be
deleted without your proper consent. It is preferable not to install macros
in documents.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top