wow.. thats a first.
the pDisp code is supposed to make it wait till the entire page is done
are there frames? with multiple sources?
do this
VB Code:
Private Sub IE_DocumentComplete(ByVal pDisp As Object, URL As Variant) If (pDisp Is IE.Application) Then 'Your code here Debug.Print URL End If End Sub
then when its done.. look in the debug window and check the URLs...
whats the last one? run it again... and again.. is it always the same?
your could do
If URL="whatever..." then
Done now
End if




Reply With Quote