Is this a listbox or a listview, cos listbox doesn't usually have 3 columns of related data.
Or are you concatenating strings to fake it in a listbox?
If it's a listview then you can sort on any column by setting the SortKey value, either in code or on the property page.
There's some clear stuff in VBHelp on it as well. Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first
'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
Some people use am invisible ListBox with Sorted=True, rearrange the data for the sort, Clear and Add to the invisible Listbox, extracct the sorted data and Clear and Add back to original, rearranging the data.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.