Events available in a Word doc.

R

Rob Stewart

I have a need to capture some events in a Word document -
e.g. a mouse click within the text of a document and
individual key presses. I've used the KeyBindings
collection, but it's not quite what I'm after.

A Document_OnChange() type of event would be ideal - has
anyone done anything like this before?

Am using Office '03.

Thanks,
Rob
 
J

Jezebel

Word doesn't really provide this functionality, sadly (Office 2k, anyway).
The application has a WindowSelectionChange event which will catch
mouseclicks and keystrokes, but only if they cause a change of selection --
for most purposes, this misses a lot of events that you might want to
respond to.
 
Top