How do I add the data list box A items into
list box B items and then place the result in list box 3?
The following is what I want to perform
listbox3 = listbox2 + listbox1
Thanks for any information
Printable View
How do I add the data list box A items into
list box B items and then place the result in list box 3?
The following is what I want to perform
listbox3 = listbox2 + listbox1
Thanks for any information
lc = ListBox1.ListCount-1
For lx = 0 To lc
List3.AddItem ListBox1.List(lx)
Next
lc = ListBox2.ListCount-1
For lx = 0 To lc
List3.AddItem ListBox2.List(lx)
Next
------------------
smalig
[email protected]
smalig.tripod.com
For a small list it doesn't matter, but if the lists are large you should modify the Next statements in smalig's post to be Next lx. You will find that the latter is slightly faster.
------------------
Marty