If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
move selection from list1 to list2
I'm curious as to how i would move a selection from one list box to another
on the same form. My first list box displays a complete list of 'units'. I would like to set up a dblclick code to move the selection to a 2nd list box below. Also, i would like the list in the 2nd box to accumulate, so that every new 'unit' i dblclick, it adds it on to the list below. I just dont know the code... Any suggestions?? |
#2
|
|||
|
|||
move selection from list1 to list2
Never Mind everybody, I figured it out....If anybody else has a similar
problem, the solution is (forgive me for bad programming or small errors) to open a dbl_click event code, declare a variable as a string, set the string = the name of your first list box, then nameofsecondlist.Additem Item:=stringname, then your off to the races... "polisci grad" wrote: I'm curious as to how i would move a selection from one list box to another on the same form. My first list box displays a complete list of 'units'. I would like to set up a dblclick code to move the selection to a 2nd list box below. Also, i would like the list in the 2nd box to accumulate, so that every new 'unit' i dblclick, it adds it on to the list below. I just dont know the code... Any suggestions?? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I have a list1 and a list2, I want to remove list2 from list1 | snow | Worksheet Functions | 4 | January 19th, 2006 05:51 PM |
Can't move or delete messages from OL2000 inbox - can anyone help? | Anthony Travis | Installation & Setup | 1 | October 24th, 2005 01:01 AM |
Outlook 2000 Rules -- Move Mail From Multiple Senders With One Rul | Kevin O | General Discussion | 0 | September 19th, 2005 05:28 PM |
Move data from one column to another | Frank Kabel | Worksheet Functions | 5 | March 17th, 2004 01:21 AM |