vba - Method 'frames' of object 'JScriptTypeInfo' failed -
vba - Method 'frames' of object 'JScriptTypeInfo' failed -
i working on automation of net explorer 9 through excel vba, throws error when reach on lastly line below:
set ie = createobject("internetexplorer.application") ie.visible = true ie.navigate "https://example.com/main.asp" 'delay till readystate finish set doc = ie.document set doc1 = doc.frames(2).document 'here comes error
can please help?
i have face same issue , got resolved
this work ie 10+
set doc = ie.document.frames
set doc1 = doc.frames(2)
for script element, readystate no longer supported. starting net explorer 11, utilize onload
ie 11 has different ways access attributes
vba internet-explorer excel-vba frames comexception
Comments
Post a Comment