Wednesday, December 22, 2004

Word 2000 Custom Properties

Last week I had the misfortune to write a quick COM Addin for Office 2000 to seed and update Custom Properties on a Word document.  Changing the property values was easy - saving the changed values was not.  I wrongly assumed that the document object would track it's own Dirty status.

Turns out, at least with Custom Properties, that you need to set the Saved property of the document object to true after changing anything.

No comments: