Word text changed event

Add-in Express™ Support Service
That's what is more important than anything else

Word text changed event
Is there any way to detect the text has been changed in a Word document? 
David Canek


Guest


Hi all,

I'm developing a Word add-in which tracks the changes the user makes in a document. I'm listening to WindowSelectionChange and OnKeyDown events and I can handle most of the changes (typing, deleting). Unfortunately, I cannot detect all the changes, e.g. when the user runs Word's built-in Find & Replace. Do you know if there is a way to listen to all changes of text in a document?

Thank you.

David
Posted 22 Dec, 2010 05:36:04 Top
Andrei Smolin


Add-in Express team


Posts: 18791
Joined: 2006-05-11
Hi David,

Remember about mofifications made by a VBA macro.

I'm afraid, no general solution exists. A partial solution would be to use document statistics.


Andrei Smolin
Add-in Express Team Leader
Posted 22 Dec, 2010 11:16:01 Top