?
Solved

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

Posted on 2014-07-28
3
Medium Priority
?
134 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

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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....
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

765 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