Solved

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

Posted on 2014-07-28
3
129 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

696 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