I have the below code to populate my list box. Trying to figure out how to sort the values put into "a" so they're in alphabetical order. Any help would be appreciated.Please Login or Register to view this content.
I have the below code to populate my list box. Trying to figure out how to sort the values put into "a" so they're in alphabetical order. Any help would be appreciated.Please Login or Register to view this content.
I know I'm not stupid, but I suspect I'm a lot stupider than I think I am
There's few ways to do this.
1. Create temp sheet, sort and then load to ListBox - This is by far the easiest method
2. Use bubble sort or other algorithm to sort array. Or if it's single column, use ArrayList and use it's sort method. Then load to ListBox.
It would help if you can upload sample workbook.
?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
― Robert A. Heinlein
Try this
Please Login or Register to view this content.
< ----- Please click the little star * next to add reputation if my post helps you
Visit Forum : From Here
I found a solution and came back to find an almost identical one. The difference is the sorting macro used.Thanks for helping!Please Login or Register to view this content.
You're welcome. Glad I can offer some help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks