I wrote a small application that accesses a handful of search websites and puts the results in a text document that runs several hundred times a day.
It saves individual search results in several local folders, so the next time you search for these words, it captures them locally rather than loading the website again.
This works great, though not fast. People are impressed because until a few weeks ago they did it manually, literally downloading six different search sites, doing a search, and then copying and pasting the results into a text document.
However, our online office is unreliable and does not work for the last half day. This means that about 400 bad searches were saved in local folders and pasted into the resulting documents.
When a person searched, they could tell if the Internet was broken, and they would do their searches later. Obviously, however, this application cannot say, because I do not use the API or anything else, and because I am limited to using the VBA environment (I’m not even allowed with MZ tools), I need to find a way to make sure The Internet works until the flow of the program continues, without relying on too many links and, preferably, without scripting for the phrase "404 Page Not Found".
I am not very familiar with VB, and VBA is ruining me in many ways, so there probably is an easy way to do this, so I ask here.
Appreciate any help.
vba ms-office networking
user51498
source share