how can i transfer all the contents of a filelistbox to a listbox? I would like the code please. Also, could you give me the code so all the contents of a listbox can be transferred to another listbox?
Printable View
how can i transfer all the contents of a filelistbox to a listbox? I would like the code please. Also, could you give me the code so all the contents of a listbox can be transferred to another listbox?
I don't know if this will fix your problem, but I'd try something like:
Dim counter as long
List2.Clear
for counter = 0 to List1.ListCount-1 step 1 'Lists start at 0
List2.AddItem List1.List(counter)
next counter