Belleke
Well-Known Member
I have a listbox, see code but afther the selection I would like that there is no more selection in the listbox
Somewhere afther End with i need a bit of code that clears the selection not the listbox
Please advice
Code:
Private Sub ListBox1_Click()
With ListBox1
If .ListIndex > -1 Then
TextBox1.Value = .List(.ListIndex, 0)
End If
End With
With ActiveCell
If .Column = 1 Then .Value = Me.TextBox1.Value
If .Column = 2 Then .Value = Me.TextBox1.Value
If .Column = 4 Then .Value = Me.TextBox1.Value
End With
End Sub
Please advice