The loop way:
VB Code:
For i = 0 To List1.ListCount - 1 If List1.List(i) = "Apple" Then MsgBox "Apple already entered" End If Next i
You can also use SendMessage, though I forget the actual message (somebody'll most likely post it).
|
Results 1 to 5 of 5
Thread: Duplicate ListBox entryThreaded View
|
Click Here to Expand Forum to Full Width |