View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tim Williams Tim Williams is offline
external usenet poster
 
Posts: 1,588
Default loop until web page loaded using Netscape Navigator

I don't think Navigator supports automation.

Tim

wrote in message
ups.com...
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