VBA UserForm Load into Multiple Rows

glitch0x6

New Member
Joined
Sep 9, 2014
Messages
4
Here's what I am trying to do: Create a form that allows my sales guys to enter a customer name and PO, then put multiple "lines" of information where the lines themselves are compiled with Variable inputs. Then have that data automatically kick over to a master sheet, line by line, matching the customer name and PO to each line. I am a VBA novice at best and have no idea what I am doing. Can this be done?

Also I would like to make it so the Customer info only has to be input once. I've tried form templates, but form fill goes excel --> form and I need it to be reversed, form --> excel

Customer A (under PO 0001)

Qty: Size: Grade: Price:
2 8x8 A 1650

3 7x6 C 850


Customer B (under PO 0002)

5 8x6 A 1600

4 7x7 A 1600

15 8x8 A 9856




And I want this form to auto-populate a master sheet in this manner:

Customer PO QTY Size Grade Price

1 A 0001 2 8x8 A 1650
2 A 0001 3 7x6 C 850
3 B 0002 5 8x6 A 1600
4 B 0002 4 7x7 A 1600
5 B 0002 15 8x8 A 9856


Thank you all in advance for any help.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top