gruntingmonkey
Active Member
- Joined
- Mar 6, 2008
- Messages
- 444
- Office Version
- 365
- Platform
- Windows
Hello, I am looking to automate getting an exchange rate off the following site: Currency converter online
I thought I could work my way through it but seem to get stuck when I'm trying to manipulate the web page (not even in code!!!)
I would appreciate if anyone had any ideas. Also, it doesn't have to be from that site, it just seemed easier than googles currency section!
I thought I could work my way through it but seem to get stuck when I'm trying to manipulate the web page (not even in code!!!)
I would appreciate if anyone had any ideas. Also, it doesn't have to be from that site, it just seemed easier than googles currency section!
VBA Code:
Sub GetRates()
'''Reference Microsoft Internet Controls and Microsoft HTML controls
Dim ie As New SHDocVw.InternetExplorer
ie.Visible = True
ie.Navigate "http://www.convertmymoney.com/"
'''Wait for ie.ready
Do While ie.ReadyState <> READYSTATE_COMPLETE Or ie.Busy
Loop
'''change currency
ie.Document.getElementById("to-list").Value = EUR''' or whatever currency
End sub