
07-30-2012, 09:10 AM
|
|
Freshman
|
|
Join Date: Mar 2010
Posts: 37
|
|
its been a while since i've done anything like this, but i'm fairly certain the only really robust way to do this was to reload the document object and
poll for a string (in the html or url) you were expecting on the new page
along the lines of
Code:
set doc = IE.document
while (instr(doc.innerHtml, "your_search_string") = 0)
'or try searching doc.LocationURL
'wait 1 second before polling again
application.wait(now() + timeserial(0,0,1))
wend
|
|