Hi there everyone! I am working on a prog where I search for items in a wildlist listbox.
I found code where I could search for items "like" the one I want.
like this..
For ex: if I was searching for the item "1", if it found 11, it would bring it up as a possible match, because 1 and 11 are "like" each other. I think prob cause they share the same characters, but what I would like to do is get rid of the like, and search for an exact match. Would anyone have any experience with that? :) :) Thanks!
I found code where I could search for items "like" the one I want.
like this..
VB Code:
Dim i As Integer For i = 0 To WildList.ListCount - 1 If WildList.List(i) Like "1" Then MsgBox "Item #" & (i + 1) & " is what you searched for" 'Select the found entry WildList.ListIndex = i End If Next
For ex: if I was searching for the item "1", if it found 11, it would bring it up as a possible match, because 1 and 11 are "like" each other. I think prob cause they share the same characters, but what I would like to do is get rid of the like, and search for an exact match. Would anyone have any experience with that? :) :) Thanks!