Professional Documents
Culture Documents
Etc
Etc
ListIndex) = "rupee" Then MsgBox "Correct selection" Else If list1.List(list1.ListIndex) = "japan" And List2.List(List2.ListIndex) = "yen" Then MsgBox "Correct selection" Else If list1.List(list1.ListIndex) = "USA" And List2.List(List2.ListIndex) = "dollar" Then MsgBox "Correct selection" Else MsgBox "Incorrect selection" End If End If End If End If End Sub
Private Sub Form_Load() list1.AddItem "india" list1.AddItem "japan" list1.AddItem "USA" List2.AddItem "yen"