Add Ascending Numbers To A Listbox With an Inputbox
Category:Lists, Collections and Arrays
Version Compatibility: Visual Basic 6
Entering names in the Inputbox will add your values to the listBox, numbering them in ascending order. The inputBox continues to display until you click cancel, to allow for multiple entries.
Instructions: Copy the declarations and code below and paste directly into your VB project.