Hey guys,
I hope some gentle souls will be able to provide some answers, cause I'm completely loss right now.
For the past 3-years or so, my partner and I have been using a VBA to collect stock data from the web. Everything's been running great, aside from a few occasion where the html codes from the pages were tweaked, which forced us to adapt the VBA accordingly. But that was to be expected, so we were able to adjust. Until a few months ago...
Then, stranger things began to happen. My partner and I are working in separate offices, with our own internet connection. For some reason, one morning, the same VBA would work fine for one of us, while the other one couldn't retrieve any data. The following morning, it would be the other way around. And it seemed totally random. I could go on for days being able to collect the data, while my partner couldn't...then nothing would work for me, and vice-versa. To a point where, a few weeks ago, neither of us could pull any of the data...at least on the US version of the site. So we started to switch to the CAN version of the site, and everything worked fine again, for awhile. When it stopped working, we went back to US, and boom...here it was, working like a charm once more. We started switching back-and-forth, with no problem. Up until now...since Monday, our VBA can't seem to collect any data out of both sites. So we started using the AUS version, and it worked for a couple of days. And then, it stopped working this morning. So we're now on the SA version, and it's working.
So I guess my question is...what do you think is going on ?
Is it just a small change in the html codes that prevents the VBA from finding the data we used to collect ? Is it something bigger, like a protection on the site that is very slowly being installed on each version the site ? Is it related to our IPs ?
I looked at the codes of both page, and couldn't spot any differences in the segment of the codes where the data itself is being pulled off from. But it's been years since I've played with html, so I can't say for sure.
If anyone is willing to take a quick look and give me a quick diagnostic, it would surely help a lot !
I've attached a small version of the file. You'll see three buttons in the upper left corner: a big REFRESH button that launches the VBA procedure, and two smaller buttons that allows to switch the URLs to US version (that currently doesn't work) and SA version (that does at the moment)...and the table in which the DATA is being stored.
If anyone's willing to take a look, it would really help us out.
I'll be in a corner of my office, fighting the tears, being very afraid of the answer. :S
Bookmarks