Word VBA to Read XML and Insert XML Values into Document

B

bodybuilder

I suspect this is a straightforward question, but I have yet to have
any luck finding a quick and efficient solution. I was wondering if
someone could assist me with the following:
(1) Using Word VBA to generate a list of the fields included in an XML
file (each time the file will contain different fields w/ different
field names), and
(2) Read the XML file using Word VBA and then insert the XML field
values into the body of the document

I have tried using MSXML2.DOMDocument and its associated attributes to
access the XML data, but I have yet to be able to effectively
accomplish the above two tasks. Thank you in advance for your help!
 

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