The information in this article applies to:
SYMPTOMSCustom document properties that are added to a Word 97 or Word 2000 document via Automation are not saved after calling "Save." CAUSEMicrosoft Word 97 or Word 2000 do not "dirty" the document when custom document properties are added via automation. When the document isn't dirty, calls to "Save" just return without performing anything. RESOLUTIONIn the document to which you're adding properties, set the "Saved" property to False. This will let Microsoft Word know the document needs to be saved. STATUSThis behavior is by design. MORE INFORMATIONThe following Visual Basic code demonstrates how to add a custom document property and set the "Saved" property to False:
Additional query words:
Keywords : kbAutomation kbVBp kbVBp500 kbVBp600 kbGrpDSO kbOffice2000 kbword2000 |
Last Reviewed: August 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |