Internet Explorer automation with VBA

sa230e

New member
Local time
Today, 04:47
Joined
Sep 28, 2011
Messages
1
Hi, I've been using Internet Explorer automation to do some web scraping for my database. The problem I'm having is that some of the data I need is loaded asynchronously via AJAX so that the data is still loading even after the page is loaded (i.e. after ie.readyState = READYSTATE_COMPLETE).

Is there a way that I can halt execution of my VBA code until all asynchronous data is loaded or all the javascript is done executing? Right now I'm just delaying the program for an inordinately long period of time so that hopefully everything will be loaded by then but it's not a good solution.
 
is this still a problem? What is the website, what is the exact web page and what exactly from the webpage are you trying to get?
 

Users who are viewing this thread

Back
Top Bottom