Hi all
I have an automation code which works fine with excel and ie7, however when trying with ie8 I get an error.
I get an "Automation Error Interface Unknown" on the
It would seem that "ReadyState" is the problem.
Please help with any Ideas
Thanks Duncan
I have an automation code which works fine with excel and ie7, however when trying with ie8 I get an error.
Code:
Set ie = CreateObject("InternetExplorer.Application")
strURL ="http://www.racingpost.com"
With ie
.Visible = True
.navigate strURL
Do Until (.ReadyState = 4 And Not .Busy): DoEvents: Loop
'''Rest of code here '''
I get an "Automation Error Interface Unknown" on the
Code:
Do Until(.ReadyState = 4 and not .Busy)
It would seem that "ReadyState" is the problem.
Please help with any Ideas
Thanks Duncan
Last edited: