I have a mental block when it comes to working with arrays, and I think this is where my problem lies with this exercise. I have a user form containing a listbox which has items added to it at runtime. The user can also add or delete items from the listbox. I want to be able to sort this listbox alphabetically, and then eventually I will take that information and write it back to a text file.
The problem I’m having is with the sort.
I’ve read previous posts about sorting and followed links, but as my understanding of arrays is limited, i can’t debug this.
I’ve attached a document with the form that I have now, and it gets stuck on the sorting. Depending on how I change the code I get errors such as “type mismatch”, “out of subscript range”, etc. I’ve been going around in circles with this one for hours, so any help would be appreciated.