loop until web page loaded using Netscape Navigator

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
 
J

jbrack

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. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top