View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] jbrack@email.uophx.edu is offline
external usenet poster
 
Posts: 8
Default loop until web page loaded using Netscape Navigator

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