I have succesfully made an Ajax like request to a web service using Microsoft Excel.
My goal is to have a button that the user can click to pull down the information and refresh the pivot tables and charts in the excel document to reflect the udpated information.
Can I set the Pivot Table to have an XML as it's source? If not, what about a table?
Otherwise, I guess I would need to have the macro clear existing information, repopulate and then refresh the pivot tables?
Can the Pivot table that only exists within the Macro? I'm currently getting the information with in a "Sub" function.
I currently have the information loaded as a DomDocument.
Dim xmlResult As MSXML2.DOMDocument
Set xmlResult = New MSXML2.DOMDocument
xmlResult.LoadXML (results)