Macro for Word Form - runtime error 5980

T

traffic

Using the macro which disables the enter key in a form - this works great
on 3 computers but I get an error on the 4th comupter when trying use the
form. After enabling the macro I get- runtime error 5980 context cannot be
modified. Debug brings me to

KeyBindings.Add KeyCode:=BuildKeyCode(wdKeyReturn),
KeyCategory:=wdKeyCategoryMacro, Command:="EnterKeyMacro"

What setting could be differnt of the 4th computer (the one I need to use
the most) - I feel like I have looked everywhere and all is the same as
others.
 

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