Solved

Data from doc properties wiped out when accepting all changes in Word 2010

Posted on 2014-07-28
3
122 Views
Last Modified: 2015-01-15
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?
0
Comment
Question by:Helen_Feddema
  • 3
3 Comments
 
LVL 31

Author Comment

by:Helen_Feddema
ID: 40225788
I just made a little test database and template to post here, and they did not have the problem, so I suspect it may be a result of updating the old .dot template to .dotx format.  This is an extremely complex template, so I hope it can be fixed without having to recreate it from scratch.  I can't post the actual template, because it has sensitive data.
0
 
LVL 31

Accepted Solution

by:
Helen_Feddema earned 0 total points
ID: 40551757
I figured it out myself -- the solution was to select all and update fields before accepting all changes.
0
 
LVL 31

Author Closing Comment

by:Helen_Feddema
ID: 40551760
This is more of a workaround than a solution, but it does the job.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm writing to share my clumsy experience in using this elegant tool so you can avoid every stupid mistake I made. (I leave it to the authorities to decide if this deserves a place in the Knowledge archives.)  Now that I am on the other side of my l…
Shortcuts in Word Just the other day I had a training for Microsoft and they wanted me to show how well the new Windows and Office behaved on a touch device, which by the way is great, but it was only then that I realized that using keyboard shortc…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question