B
Birger Niss
Hi,
I'm trying to intercept Ctrl+S in a Word Addin. I have tried the following
code in Wd_DocumentChange:
Wd.KeyBindings.Add wdKeyCategoryCommand, "MyFunction",
BuildKeyCode(wdKeyControl, wdKeyS)
but I get the 5346 error "Word cannot change the function of the specified
key".
I suspect an error in the reference to MyFunction, because there is no
problem binding to the built-in functions like
FileOpen, FileClose etc.
Any help is greatly appreciated.
Birger Niss
I'm trying to intercept Ctrl+S in a Word Addin. I have tried the following
code in Wd_DocumentChange:
Wd.KeyBindings.Add wdKeyCategoryCommand, "MyFunction",
BuildKeyCode(wdKeyControl, wdKeyS)
but I get the 5346 error "Word cannot change the function of the specified
key".
I suspect an error in the reference to MyFunction, because there is no
problem binding to the built-in functions like
FileOpen, FileClose etc.
Any help is greatly appreciated.
Birger Niss