I am having trouble sorting a listbox.
I want this order A,B,Z,AA
instead i choose the sort proprty on the list box and get
A,AA,B,Z
Thanks Mark
Printable View
I am having trouble sorting a listbox.
I want this order A,B,Z,AA
instead i choose the sort proprty on the list box and get
A,AA,B,Z
Thanks Mark
You have to make your own sortfunction. Don't have time to make one for you but as a tip: before sorting, add chr(1) & chr(1) to every item and remove them later with item=left(item,len(item)-2).