Hi there! This question of mine came from another thread of mine, but i thought i should post it as a new thread.
I have a combo box and a listbox.
All i want is when i select a value(text) from the combobox to check if there is a same value(same text) at the listbox and if there is, then this value will be removed from the listbox.
I tried at after update combobox this:
Dim lnI As Integer
For listbox_name= 1 To listbox_name.ListCount
If listbox_name.List(lnI) = combobox_name.Value Then
listbox_name.List(lnI) = ""
End If
Next lnI
but its not working
Any ideas?
Thank you a lot!
I have a combo box and a listbox.
All i want is when i select a value(text) from the combobox to check if there is a same value(same text) at the listbox and if there is, then this value will be removed from the listbox.
I tried at after update combobox this:
Dim lnI As Integer
For listbox_name= 1 To listbox_name.ListCount
If listbox_name.List(lnI) = combobox_name.Value Then
listbox_name.List(lnI) = ""
End If
Next lnI
but its not working
Any ideas?
Thank you a lot!