|
-
Nov 8th, 1999, 01:32 AM
#1
Thread Starter
New Member
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
-
Nov 8th, 1999, 02:06 AM
#2
Addicted Member
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
-
Nov 8th, 1999, 03:32 AM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|