Hi,
I'm relatively new to VBA Excel and was wondering how to wait for an external website's processing to finish before moving on to the next line of code in my macro.
I've done some googling but didn't quite find anything useful to my particular situation.
My macro navigates to a website and on that website is a "Process" button. I programmatically click this button but I don't want my next line of code to execute until the website's processing (it inserts a bunch of rows into a database table) is actually done.
One of the things I DO NOT want to do is 'sleep' X number of seconds. That's a no-go because the data insertion can take a varying amount of time.
Below is the relevant code snippet. Any help/ideas would be greatly appreciated.
Bookmarks