Intercepting Key Combinations from Word

D

Daryl

Hi All,

I'm writing a shared add-in in VB.Net for Word 2003 where I want to override
the default behaviour of opening, saving and printing documents. I've worked
out how to hook into the DocumentBeforeSave event etc and I've worked out how
to redirect the Command Button clicks for opening, saving and printing.

Now I want to catch the key combinations Ctrl-O, Ctrl-S etc. I've worked
out how to use Keybinding.Rebind but it only seems to allow me to rebind
these combinations to Word Commands or Macros. Is there any way to rebind
these to function from my Add-in, or am I going about this in the wrong way?

Any help appreciated.

Thanks,

Daryl.
 

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