TonySondergeld
New Member
- Joined
- Jul 11, 2009
- Messages
- 31
Hi,
I have two multi column Listbox on a userform, the first listbox1 finds details about a customer Order. Listbox2 displays the current stock. Now Listbox1 is a single line selection and Listbox2 is a multi line selection, So to fill a order you select the order from Listbox1 and then the required stock from listbox2 (which could be 1 or up to 22 selection. Now the part I'm stuck on, with a commandbutton chick to add the selections form each listbox to the All Order worksheet in the next empty row or rows depending on the number of stock selections (May have to loop listbox1 toplace it values with all selection in listbox2), Now as some info in each listbox is the same i only required to place some values from each listbox.
Listbox1 required Values: Column2 to ws.column C, Column3 to ws.column E, Column4 to ws.column D
Listbox2 required values: Column1 to ws.column F, Column3 to ws.column G, Column4 to ws.column H, Column5 to ws.column I, Column6 to ws.column J,
Hope this is enough info, if not let me know
thankyou
I have two multi column Listbox on a userform, the first listbox1 finds details about a customer Order. Listbox2 displays the current stock. Now Listbox1 is a single line selection and Listbox2 is a multi line selection, So to fill a order you select the order from Listbox1 and then the required stock from listbox2 (which could be 1 or up to 22 selection. Now the part I'm stuck on, with a commandbutton chick to add the selections form each listbox to the All Order worksheet in the next empty row or rows depending on the number of stock selections (May have to loop listbox1 toplace it values with all selection in listbox2), Now as some info in each listbox is the same i only required to place some values from each listbox.
Listbox1 required Values: Column2 to ws.column C, Column3 to ws.column E, Column4 to ws.column D
Listbox2 required values: Column1 to ws.column F, Column3 to ws.column G, Column4 to ws.column H, Column5 to ws.column I, Column6 to ws.column J,
Hope this is enough info, if not let me know
thankyou