Hi all,
I am trying to pull the currency exhange rates from a website for use in an estimate calculation form for my company.
The following will display the content of the xml file in the debugger, but how can I add criteria, so I can reference a single currency?
Any help is very appriciated..
I am trying to pull the currency exhange rates from a website for use in an estimate calculation form for my company.
The following will display the content of the xml file in the debugger, but how can I add criteria, so I can reference a single currency?
Code:
Sub GetExchRate()
Dim objXML As Object
Dim strURL As String
Set objXML = CreateObject("MSXML2.XMLHTTP")
strURL = "h ttp://w ww.nationalbanken.dk/dndk/valuta.nsf/valuta.xml"
objXML.Open "GET", strURL, False
objXML.send
Debug.Print objXML.responseText
End Sub
Any help is very appriciated..