View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
ron ron is offline
external usenet poster
 
Posts: 118
Default Select Checkbox on Web Page

For the next guy who comes along, here's what finally worked for
me...ron

for the radio button selection...
Set rad_button = ie.document.all.Item("std_trans")
For Each rb In rad_button
If rb.Value = "translated" Then
rb.Checked = False
End If

If rb.Value = "standard" Then
rb.Checked = True
End If
Next

for the checkboxes...
check_METARs = ie.document.all.Item("chk_metars").Checked

If check_METARs = True Then
Else: ie.document.all.Item("chk_metars").Click
End If

check_TAFs = ie.document.all.Item("chk_tafs").Checked

If check_TAFs = False Then
Else: ie.document.all.Item("chk_tafs").Click
End If