11-19-2009, 06:07 PM
Try this code
Code:
strValue = Datatable("Group",dtLocalSheet)
If strValue = "option1" Then
Browser("xxx").Page("xxx").WebRadioGroup("optBanner").Select "#0"
ElseIf strValue = "option2" then
Browser("xxx").Page("xxx").WebRadioGroup("optBanner").Select "#1"
ElseIf strValue = "option2" then
Browser("xxx").Page("xxx").WebRadioGroup("optBanner").Select "#2"
End If