1

Using Excel/VBA, I'm trying to input text into a textbox that is displayed on a popup window. Here's the code defining the field I need to access:

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"/>

I tried using:

ie.Document.getElementById("RUItem").Value = "some-value"

But I get an error saying:

Object Required

so I know that I am not accessing it correctly. How do I input text into the secondary window?

maxshuty
  • 9,708
  • 13
  • 64
  • 77
VBAnewguy
  • 11
  • 4

0 Answers0