Converting word document to xml

B

Bobby

Using VBA, I am trying to convert a word doc to xml. The creation happens
without a problem but when I try to open it using word I get an error in the
xml document.

Basically I create a new xml file using the file system object and dump the
contents using "ActiveDocument.Range.XML"

I am under tight deadline and any help would be greatly appreciated.
 
B

Bobby

BTW, I can't use the save-as. It is a limitation of one of the third party
app we are using.

thx
 
J

Jean-Guy Marcil

Bobby was telling us:
Bobby nous racontait que :
BTW, I can't use the save-as. It is a limitation of one of the third
party app we are using.
Then it is a poorly designed add-in...

Since you seem to be in a rush, the easiest would be to temporarily
deactivate the add-in (Tools > Templates and Add-ins...), do a Save-as and
then reactivate the add-in.

You could activate/reactivate the add-in in code, but since you are in a
rush. it is probably not necessary.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top