I'm attempting to use VBA from excel to select one of two radio buttons in internet explorer. I can get the webpage to open, but cannot get the radio buttons selected.
Below is the code of the webpage. I want it to select the Cartons radio button.
Below is the code of the webpage. I want it to select the Cartons radio button.
Code:
<TABLE width="100%" border="0">
<TR>
<TD width="30%"><!--<input type="radio" name="UNIT_EACHES" value="" ******* = "javascript:eachesRadioClick();"/>EACHES-->
<input type="radio" tabindex="10" style="color: #FF0000"
name="UNIT_MEASURE"
value="Units"
> Units</TD>
</TR>
<TR>
<TD width="30%"><!-- <input type="radio" name="UNIT_CASES" value="" ******* = "javascript:casesRadioClick();" />CASES -->
<input type="radio" style="color: #FF0000" name="UNIT_MEASURE"
value="Cartons"
> Cartons</TD>
</TR>
</TABLE>