VBA IE Automation - Read iFrame

后端 未结 4 2051
小鲜肉
小鲜肉 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:35

    Try this...

    Dim elemCollection As IHTMLElementCollection
    
    Set elemCollection = objDoc.frames("iFrameID").document.all
    Debug.Print elemCollection.Item("pagemenuli-adv").innerText
    

提交回复
热议问题