Word 97: keyboard assignment doesn't come into effect

P

Peter_A_M (NL)

Dear all,

Here I've got a problem which doesn't seem to exist in Word XP, but
unfortunately some of 'my users' still work with Word 97 and there it does.

I experience this problem using VBA code, but the same seems to happen when
I try it by hand. (Tools Customize Keyboard...)

I want to assign Alt-Ctrl-W to the macro PrintAndCloseFiles (which resides
in a module that has been copied to Normal.dot) using this code:

CustomizationContext = NormalTemplate
KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyW, wdKeyControl, wdKeyAlt), _
KeyCategory:=wdKeyCategoryMacro, _
Command:="PrintAndCloseFiles"
(for the last I also tried "Normal.ModuleOpenClose.PrintAndCloseFiles", but
this makes no difference)

After running this code Alt-Ctrl-W remains for some exotic character, which
seems to be the default assignment.
A I told you the same holds for doing this by hand.

I would be very happy with some explanation and above all: solution!
Thanks in avance!
 

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