I am using a VBA code to fill out a form to create a work order. When I put the part number in, you have to select the specific part from a pop-up and this has radio buttons. I have tried everything I've found on the internet but nothing has worked.
my code:
Set pNum1 = IE.Document.getElementsByName("MaterialsAdvTblRN:MatItem:0")(0)
pNum1.Focus
pNum1.Value = tb3wo1
pNum1.FireEvent "onchange"
Application.Wait (Now + TimeValue("00:00:03"))
Set ieRadio = IE.Document.all
ieRadio.Item("N1:selected")(0).Click
Want to click on the select button for the first one.
This is the html.
Any help would be greatly appreciated.
my code:
Set pNum1 = IE.Document.getElementsByName("MaterialsAdvTblRN:MatItem:0")(0)
pNum1.Focus
pNum1.Value = tb3wo1
pNum1.FireEvent "onchange"
Application.Wait (Now + TimeValue("00:00:03"))
Set ieRadio = IE.Document.all
ieRadio.Item("N1:selected")(0).Click
Want to click on the select button for the first one.
This is the html.
Any help would be greatly appreciated.