Insert and Replace Text in ListBox Columns: Demo
Category:Forms and Controls
Version Compatibility: Visual Basic 6, Visual Basic 5
This is a short example of how to put columns in a listbox and take data out of them again. This is done without using the columns property. This way you can select the whole row normally. I use an array to save the column spacing for each row. Just change the array length and the textbox array the same, and you can the same technique with more or fewer columns.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.