tags:

views:

209

answers:

1

Hi,

I need to insert an OpenXML Word document into another document in Word 2003 inside a VSTO 2005 customization.

With the old WordML (2003) documents I used Selection.InsertXML() for this, but OpenXML or the flat XML format (Flat OPC) of it does not work with this method in Word 2003 even if the compatiblity pack is installed (no surprise).

What options do I have to accomplish this?

Ernst

A: 

If the two file formats are incompatible with .InsertXML(), possibly try using VSTO to copy from the OpenXML document and paste into the WordML document. Hopefully the basic formatting of the document structure is retained after that operation.

Mike Regan