loop until web page loaded using Netscape Navigator

  • Thread starter Thread starter jbrack
  • Start date Start date
J

jbrack

Hi,

Below I have a macro which will wait for Internet Explorer to load a
web page by looping. Is there similar code for producing the same
results using Netscape Navigator?. If it makes a difference, I'm using
Netscape 4.7.

Thanks,

Sub restrictions()

Dim IeApp As InternetExplorer
Dim sURL As String
Dim IeDoc As Object
Dim i As Long
Set IeApp = New InternetExplorer
IeApp.Visible = True
sURL = "http:www.theweatherchannel.com"
IeApp.navigate sURL
Do
Loop Until IeApp.ReadyState = READYSTATE_COMPLETE
Set IeApp = Nothing

Call weather
End Sub
 
Thanks Tim.

That would explain why I've had no luck in my search for an answer.
Thanks for responding...I can give up now. :)
 
Back
Top