Question : read xml object

Through a soap connection I get an XML object and have to get it in the right table in VBA code. Is there a quick way to read this and put it in the right table othere than reading it as a large string.

Answer : read xml object

more specifically
http://www.brainbell.com/tutors/XML/XML_Book_B/The_XML_Document_Object_Model.htm

it has all information you need to know about the dom document object.. Good simple code examples.

The end result is something like this.

If domXML.selectNodes("//" & strCustomer).length > 0 Then
   Set parentNode = domXML.selectSingleNode("//" & strCustomer)
   For Each subNode In parentNode.childNodes
       Form_frmMain.Form(strCustomer & "_" & subNode.nodeName).Value = subNode.text
   Next
   Set parentNode = Nothing
End If

Random Solutions  
 
programming4us programming4us