Hi have 2 list boxes on a form i have uploaded an example of the form im trying to code, would like to transfer an item to the next list box without duplicates so if you trying to send one item twice it should say msgbox("Borders already in the list box",information)"
Mash'Funk
0
Newbie Poster
Recommended Answers
Jump to PostThe listbox has a FindString and FindStringExact methods available to search the items.
intIndex = ListBox2.FindStringExact("YourSearchItem")
If intIndex >= 0 then msgbox("Item Already Exists")
All 4 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.