Re: Can I override Word commands in a plugin?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Cindy,

"Cindy M -WordMVP-" <C.Meister-C@xxxxxxxxxx> wrote in message news:VA.0000ac71.00ff500b@xxxxxxxxx
> Actually, the VBE hasn't changed substantially in all that time :-)

OK.

> As to your other question, you'd still need code in the document project. Word can't
> link directly to an Addin, the way it can to its own, local projects. In order to get
> it to call your code from a keyboard action within the UI you require a "callback"
> procedure in the Word environment, linking the keycode to your addin. Ditto for the
> built-in commands, I should think.

Can you give an example of a "callback"?

> Now, as to your original question, controlling Ctrl+Z and Ctrl+Y, you could turn
> these off completely by accessing the KeyBindings collection and disabling them.

Actually, I was thinking about something like this:
http://groups.google.ca/group/microsoft.public.word.word97vba/msg/c5f120a7817f3dbb

Best wishes,
Alex.

--
Address email to user "response" at domain "alexoren" with suffix "com"
.