PRB: Word Fails to Save Custom Document Properties (195425)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Office XP Developer
- Microsoft Office 2000 Developer
- Microsoft Word 2002
- Microsoft Word 2000
- Microsoft Word 97 for Windows
This article was previously published under Q195425 SYMPTOMS
Custom document properties that are added to a Word 97, Word 2000, and Word 2002 document via Automation are not saved after calling "Save."
CAUSE
Microsoft Word 97, Word 2000, and Word 2002 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.
RESOLUTION
In 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.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbAutomation kbprb KB195425 |
---|
|