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

Support for Office 2003 has ended

Microsoft ended support for Office 2003 on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

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: 07/17/2009 07:00:38 - Revision: 1.0

Microsoft Office Word 2003

  • kbexpertisebeginner kbqfe kbsurveynew kbprb KB970226