sal21 0 Newbie Poster

In a asp page have a combobox with 3 item(see html)
I want to loop in all items of combobox... similar:

i use this to connect oie:

Set OIE = CreateObject("InternetExplorer.Application")
URL = "http://mysite/GP.asp"
OIE.Visible = True

OIE.navigate (URL)
Do While OIE.readyState <> 4 Or OIE.Busy
DoEvents
Loop


select element 1
goto next line of code
finish routine
select element 2
goto next line of code
finish routine

ecc...

<font size="1" face="Verdana,Arial">Scegli :</font>
<Select name="SelectArea" onChange="this.form.submit();">

<option value="7 ,aaaa_X1_" selected>1234i</option>

<option value="7 ,aaaa_X2_">5678</option>

<option value="7 ,aaaa_X3_">91011</option>

</select>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.