Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / October 2005

Tip: Looking for answers? Try searching our database.

Converting word document to xml

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bobby - 18 Oct 2005 01:13 GMT
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.
Bobby - 18 Oct 2005 02:08 GMT
BTW, I can't use the save-as. It is a limitation of one of the third party
app we are using.

thx

> 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
[quoted text clipped - 4 lines]
>
> I am under tight deadline and any help would be greatly appreciated.
Jean-Guy Marcil - 18 Oct 2005 13:51 GMT
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.

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.