I'm calling a website (not google) from Excel using the below:
The website automatically generates a spreadsheet in a second instance of Excel. This is all hard coded on the website and cannot be changed. The length of time it takes to generate varies, so I need to check when the second instance has been created so that I can then carry on with my code.
I've tried counting the number of workbooks, but it only checks in the active instance, not in the new instance. Anyone got any ideas?
Code:
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate("[URL unfurl="true"]WWW.google.com")[/URL]
I've tried counting the number of workbooks, but it only checks in the active instance, not in the new instance. Anyone got any ideas?