View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] mrsharkspoiler@gmail.com is offline
external usenet poster
 
Posts: 3
Default VBA, Webbrowser and Radio Buttons

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