Hi.
Thank you for reading my post.
I am new to running Web Services in Excel and using XML so I have tried to google me to the result but I am having some difficulties.
What I basicly want to do is call my Web Service with VBA and print the result out in the cells. First row for header and then the results under.
Here is the code that calls the web service. Some code have been replaced with "removed" for security reasons.
The saved XML looks something like this:
The XML doesnt exacly format like that. It all comes in one big pile of mess after <SQL_Query_dbhtlResult><NewDataSet> Then the whole result comes in one BIG block and then the end is formated like above.
More like this:
So this might be the problem. Because when I try to go through the nodes with the following code:
On the first run when i step through the code, it goes inside the for loop and prints out:
version="1.0" encoding="utf-8"
And then when I step further and it goes to the next element it goes inside the for loop and prints out the WHOLE result in one big chunk :/
then it goes out of the for loop and end sub.
This post got very big but I really hope someone can help me with this.
All help is much appreciated.
Thank you for reading
Bookmarks