VBA IE Automation - Read iFrame

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

    I faced a similar problem, finally solved it using:

    ObjIE.document.frames(0).document.forms(0).innerText

    Note: The text which I was in need was present in form which is located in a iframe.

    Am new to VBA, can some body explain what exactly 0 in Frames(0)/forms (0) is?

    If it something like Frame index or frame number(As of my assumption) please let me know how can we find frame index(in any HTML)?

提交回复
热议问题