Updating a Word Document and Rewriting it

Using ColdFusion MX, I would like to be able to open a Word Doc, replace a few pieces of text, and then write the "new" updated text into a new word doc.  Basically I use a Word doc as a template.  I replace some variables in that doc and then I need to create a new doc.  I am able to do all of this thus far, however, the new Word doc that I write to is unreadable.  How can I replace these variables and still maintain the formating needed for Word to read the document correctly?

Thanks
Harley12Asked:
Who is Participating?
 
rsripracCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.