Tracking office events

S

Stephen

I need to write an addin for MS Word (and maybe Excel and PowerPoint),
preferably using VS .NET 2003, which will tell me when the following events
have happened:

Document Open
Document Close
Document Save
Document SaveAs
Document Print

The Open event is no problem as I can use the DocumentOpenEventHandler, but
all other events are thrown 'before' the event is about to happen, and so
therefore could be Cancelled:

DocumentBeforeClose
DocumentBeforeSave
DocumentBeforePrint

Is there any (preferably simple) solution to this problem, using .NET or
otherwise?

Thanks
 

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