vba excel parser xml

The solution for “vba excel parser xml” can be found here. The following code will assist you in solving the problem.

xml_document.SetProperty “SelectionNamespaces”, “xmlns:sp=””http://schemas.microsoft.com/sharepoint/soap/”” ‘Set the start path Set xml_nodes_collection = xml_document.SelectNodes(“//soap:Envelope/soap:Body/sp:UpdateListItemsResponse/sp:UpdateListItemsResult/sp:Results/sp:Result”) ‘Go through all row IDs For Each xml_node_element In xml_nodes_collection row_id = xml_node_element.attributes(0).NodeValue For Each xml_child_node In xml_node_element.ChildNodes ‘……. Next Next

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts