VBA IE Automation - Read iFrame

后端 未结 4 2053
小鲜肉
小鲜肉 2020-12-03 18:05

Our business uses a browser-based program for operations. I\'m automating a solution to navigate through this site, and retrieve some data at the end.

The site itsel

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-03 18:36

    Try to use:

    `Dim iFrm As HTMLIFrame
    Set iFrm = ie.document.frames(myFrameNum).document.getElementByID("iFrameID")
    Debug.Print iFrm.contentDocument.body.innerHTML`
    

提交回复
热议问题