Search code examples
.netvb.netms-officeoffice-interop

MS Office 2007 How can I track office's document changes?


The Office 2007 interop API doesn't provide any event on document changes.

How can i get an event for each modification that happens ? (like OnDeleteSlide, OnAddSlide, etc..)

I think to get a hash of the document actually in ram, but don't see how...

Maybe check the state of the crtl+z control...


Solution

  • Word.Application.DocumentChange +=new ApplicationEvents2_DocumentChangeEventHandler(...);