Dim oIE As Object
'Create the IE application object.
oIE = CreateObject("internetexplorer.application")
'Load the URL.
'Wait for the web page to load completely.
Do While (oIE.ReadyState <> 4)
I could successfully simulate the process by doing following steps -
1. Paste the URL in web brower and let the page load successfully.
By doing this, it calls the function successfully.
But when I am trying to execute this through VB code I get error 80020101.
I tried statements like -
but no use.
The statement MsgBox(oIE.Document.frames.length) returns 0 suggesting that there is only one frame on the page.