Pulling a bunch of data from the Yahoo finance website.. Basically the web-query macro re-runs itself once it finishes.... some sort of loop.
I've had various errors but managed to get it working, after around 200 lines of data, I get the error:
"error: the object invoked has disconnected from its clients"
as I result i've had to auto-save everytime the macro executes.
Anyone had any experience with this error or suggestions to fix? Also anything that will speed it up?
When I debug this line is highlighted:
.Refresh BackgroundQuery:=False
Attached is the the file, and the code is below:
p.s I have had to clear the cache everytime the web-query executes in order to over-come a previous error.
Bookmarks