A
Alex
I have 2 comboboxes on a userform. If the one is chosen with data the second
one should be empty and vice versa.
I'm trying to do the following code but to chose the data I need to click
twice on a combobox if another one is with some data. The after-update gives
the same result.
Private Sub cboBox1_Change()
If Not IsNull(cboBox1.Value) Then
If Not IsNull(cboBox2) Then
cboBox2= Null
End If
cboBox1.SetFocus
End If
End Sub
Private Sub cboBox2_Change()
.....
How could I make it to get data right after the clicking.
Thanks
one should be empty and vice versa.
I'm trying to do the following code but to chose the data I need to click
twice on a combobox if another one is with some data. The after-update gives
the same result.
Private Sub cboBox1_Change()
If Not IsNull(cboBox1.Value) Then
If Not IsNull(cboBox2) Then
cboBox2= Null
End If
cboBox1.SetFocus
End If
End Sub
Private Sub cboBox2_Change()
.....
How could I make it to get data right after the clicking.
Thanks