Carriage returns in a document variable are lost after you save a Word 2003 document in the Open XML (.docx) file format

Article translations Article translations
Article ID: 970226 - View products that this article applies to.
Expand all | Collapse all


You develop a macro to generate a document that contains a DocVariable field in Word 2003. The field is used to display a variable inside the document and the variable value contains carriage returns. When you save the file in the Open XML (.docx) file format, the carriage returns are lost.


To fix this problem, apply the following hotfix packages:
  • 970843 Description of the Word 2003 hotfix package (Winword.msp): June 30, 2009
  • 970942 Description of the Word 2007 hotfix package (Word.msp, Wordconv.msp): June 30, 2009


Article ID: 970226 - Last Review: July 17, 2009 - Revision: 1.0
  • Microsoft Office Word 2003
kbexpertisebeginner kbqfe kbsurveynew kbprb KB970226

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from