使用Excel / VBA,我正在尝试将文本输入到弹出窗口中显示的textbox
。这是定义我需要访问的字段的代码:
span class="ui-helper-hidden-accessible" role="status" aria-live="polite"/>
input class="ui-autocomplete-input" id="RUItem" style="width: 100px;" type="text" autocomplete="off"/>
我尝试使用:
ie.Document.getElementById("RUItem").Value = "some-value"
但是我收到一个错误说:
需要对象
所以我知道我没有正确访问它。如何将文本输入辅助窗口?