Hi,
I have a problem with a ComboBox, I fill the listbox with data (two cloumns, name and identifier) and the user shall choose one of the post in the Listbox.
But if the user print something else and press GO I wold like to be able to pick up that and exit the sub.
Some thing like this
But when I come to that line I get
I dont want to make the ComboBoxnote "writeable" because the user should be able to write and the listbox "MatchEntry".
Thanx
Anders Olsson
I have a problem with a ComboBox, I fill the listbox with data (two cloumns, name and identifier) and the user shall choose one of the post in the Listbox.
But if the user print something else and press GO I wold like to be able to pick up that and exit the sub.
Some thing like this
Code:
If cboOrt.Column(2) Is Nothing Then
MsgBox "Någonting gick snett, orten hittades inte"
Exit Sub
End If
Code:
<Could not get the Column property. Invalid property array index.
Thanx
Anders Olsson