VBA, Webbrowser and Radio Buttons

M

mrsharkspoiler

Im stumped with the following issue

I created a VBA script to step through the process of sending user
information to create an account
Everything used to work until the site added the language option for
french / english.

When i look in the Locals window

english is located at
..document.all.item(201)

french is located at
..document.all.item(202)

the name of the radio is "lang"

When English is selected, the info in 201 shows stuff like
checked = true
status = true
and the info in 202 will be the opposite (obviously)

i initially tried to do .document.lang.checked = true
but "lang" referrs to both the french and english so the script fails.


what code can i use to select the language?

if you need more info, let me know

PS> im trying to stay away from code such
as .document.item(202).checked = true because the data might not
always be item 202 in the future. id rather call it by name

thanks to all
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top