Is there any event in the above mentioned namespace to fire when any change occurs or when document edited ,for instance, text input occurs
I tried
Microsoft.Office.Interop.Word.ApplicationEvents4_WindowSelectionChangeEventHandler
&
Microsoft.Office.Interop.Word.ApplicationEvents4_EPostageInsertEventHandler
But i can't trigger an event whenever i insert text in active word document.
Unfortunately the Word object model does not expose any key press events,
List of Word events - Document Events
You could try implementing a global keyboard hook to achieve what you're looking for through Win32 API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With