How do I check programmatically if any document properties of a MS Word 2007 document has changed?

Proposed Answer How do I check programmatically if any document properties of a MS Word 2007 document has changed?

  • Tuesday, July 21, 2009 5:42 PM
     
     

    For example, I want the Title fields in the body and the page headers of the document to be updated automatically whenever the Title field in the document properties panel is changed. I know how to update the fields, but I want to know the name of the event that will tell me when the document properties have changed.

    Your help will be appreciated. Thanks.

    I also asked this question on stackoverflow.

All Replies

  • Thursday, August 20, 2009 6:23 PM
     
     Proposed Answer
    The best place for the check would be during the Document_Close() event. At this time you can update the fields with the Title field in the document properties.
    • Proposed As Answer by question101 Thursday, August 20, 2009 6:23 PM
    •