ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   loop until web page loaded using Netscape Navigator (https://www.excelbanter.com/excel-programming/351116-loop-until-web-page-loaded-using-netscape-navigator.html)

[email protected]

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


Tim Williams

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




[email protected]

loop until web page loaded using Netscape Navigator
 
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. :)



All times are GMT +1. The time now is 12:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com