PDA

View Full Version : Help with Event Handler



Bilby
10-14-2007, 09:58 PM
Greetings,

I need to trap the return and tab keys in Word. I believe the API I need is the SetWindowsHookEx but I'm at a complete loss as to how to build the event handler.
Maybe my last grey brain cell has finally had enough.
Does anyone have/know where I can find examples of Win32 based event handlers in VBA?
I'm unfortunately out of my depth and would be grateful for any help.