Is there a better way to tell the browser to wait until a page has loaded to continue?
I've tried
while ieobj.busy
doevents
wend
do while ieobj.busy
loop
and even
variable1 = ieobj.document.all.getelementsbytagname("td").length
while ieobj.document.all.getelementsbytagname("td").length < variable1
doevents
wend
I ask this because the above methods don't work when the page is big, DOevents gets bypassed ending up giving me errors when I run my code.
Any suggestions?
I've tried
while ieobj.busy
doevents
wend
do while ieobj.busy
loop
and even
variable1 = ieobj.document.all.getelementsbytagname("td").length
while ieobj.document.all.getelementsbytagname("td").length < variable1
doevents
wend
I ask this because the above methods don't work when the page is big, DOevents gets bypassed ending up giving me errors when I run my code.
Any suggestions?