Hi Warren,
I think I can help, as I've been working on something similar for the past few weeks, and have basically had to teach myself. :(
You'll need to add the shdocvw reference which I believe is under "Microsoft Internet Controls".
You can open a hidden Webpage with the following code:
Set oIE = New SHDocVw.InternetExplorer
oIE.Navigate Navigateto
Then you can access it with DHTML DOM object like so.
Spage = oIE.Document.documentElement.outerHTML
Spage will now contain most of the same stuff you would find if you opened the webpage on your own and clicked on view source. I've been able to get lots of data this way, even login to sites, and search for securities to pull data based on our holdings data. There's quite a learning curve, as, for some reason, no one has written a book about how to just make VBA and HTML/Javascript work together, so you have to sort of glean what you can from seperate sources. The MSDN website has too much information on it, but its a good place to search anyway. Good luck!
|