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.
 

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