Helen Feddema
asked on
Data from doc properties wiped out when accepting all changes in Word 2010
In an .mdb database originally running in Office 2003, I have Access VBA code that writes data to doc properties in documents created from Word .dot format templates. The templates are set up to track changes. When the documents are created, the user accepts changes (clicking the Accept All Changes button in the toobar), which changes the red underlined data displayed in DocProperty fields to black, non-underlined text. The user may also change some text in the document, and then click Accept All Changes again. This works fine. But I recently upgraded the database to Access 2010 format (making a brand-new .accdb database, importing all objects into it, and making various changes as needed). I also upgraded the templates to .dotx or .dotm format, as needed. Now, when a new document is created from a template, the data from the doc properties is initially displayed (red, underlined), but when the user clicks Accept All Changes, the data disappears. It is still in the doc properties -- I can see it in the Custom Properties dialog -- but it doesn't display on the document. How can I prevent this data from disappearing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is more of a workaround than a solution, but it does the job.
ASKER