且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

VBA IE 自动化 - 读取 iFrame

更新时间:2021-07-24 22:11:54

我遇到了同样的问题,我使用以下脚本行得到了解决方案..

I faced the same issue and I got the solution using the following line of script..

IE.Document.getElementsbyTagName("iframe")(0).contentDocument.getElementsbyTagName("body")(0).innertext

IE.Document.getElementsbyTagName("iframe")(0).contentDocument.getElementsbyTagName("body")(0).innertext