-
Hi there!
I have 2 Combo boxes using control array, i.e. Combo1(0) and Combo1(1). I have different data in both combo boxes but both of them have the same number of elements.
The thing is when I select the first element in Combo1(0) I will want the first element of Combo1(1) to appear in Combo1(1) and so on for the rest of the elements.
how can this be done??
Regards!!
-
Assume you have set both ComboBox Sort properties to False
Code:
Private Sub Combo_Click(Index As Integer)
if Index = 0 then Combo(1).ListIndex = Combo(0).ListIndex
End Sub
-
Thanks a lot, Chris!!
It works!!