Hi friends,
I have an (VBA) application which programatically fills the values in a web page.
In the web page there is a dropdown menu whose options are selected during run-time by using a function.Is there anyway by which I can select the option in the dropdown menu programatically ?
If the dropdown menu in the web page had its options explicitily mentioned (like <option value="1">1</option>...) I could have used document.form.o bjectname.selec tedindex=n in the VBA code.
But here all I have is a function to generate the values in the dropdown menu.
like...
<select name="name" id= "">
print_month_ele ment_drop_down_ menu(1, 12, 2, ' ');
</select>
Is there a wayout to select the desired value programmaticall y from my VBA application?
(I am temporarily using the sendkeys method,but it isnt that gr8 a solution...:-))
Regards,
Balu435
I have an (VBA) application which programatically fills the values in a web page.
In the web page there is a dropdown menu whose options are selected during run-time by using a function.Is there anyway by which I can select the option in the dropdown menu programatically ?
If the dropdown menu in the web page had its options explicitily mentioned (like <option value="1">1</option>...) I could have used document.form.o bjectname.selec tedindex=n in the VBA code.
But here all I have is a function to generate the values in the dropdown menu.
like...
<select name="name" id= "">
print_month_ele ment_drop_down_ menu(1, 12, 2, ' ');
</select>
Is there a wayout to select the desired value programmaticall y from my VBA application?
(I am temporarily using the sendkeys method,but it isnt that gr8 a solution...:-))
Regards,
Balu435
Comment