stillinlife101
Programmer
Worksheet A Columns: Quantity, Part #, Description Line 1, Description Line 2, Unit Price, Total Price
The "part #" column is already filled in with part numbers, and the unit price already has the prices. The total price calculates itself as Quantity * Unit Price.
The quantities are all set at 0. When I set the quantity to a number greater than zero, I went it to send that part number's information to add to a quote. So, here's a model of Worksheet A:
Quantity Part# Desc.Line1 Desc.Line2 U.Price T.Price
0 pn1 desc1 desc2 1.24 0.00
2 pn2 desc1 desc2 5.00 10.00
0 pn3 desc1 desc2 3.76 0.00
3 pn4 desc1 desc2 1.25 3.75
1 pn5 desc1 desc2 9.14 9.14
I want this to generate the following output in worksheet B:
Item Quantity Part# Description U.Price T.Price
1 2 pn2 desc1 5.00 10.00
desc2
2 3 pn4 desc1 1.25 3.75
desc2
3 1 pn5 desc1 9.14 9.14
desc2
Total: 22.89
Note that all the parts that have an order quantity greater than zero have been included in Worksheet B, but there are no zero quantity entries. If the total number of items exceeds a certain number (i.e. the number that would fill up a page), I also want to be able to create a new header beneath the first page so that it prints as a quote.
If you have any questions, please ask. I already tried posting this question, but I don't think I was clear enough about the problem. Thanks!
Dan
The "part #" column is already filled in with part numbers, and the unit price already has the prices. The total price calculates itself as Quantity * Unit Price.
The quantities are all set at 0. When I set the quantity to a number greater than zero, I went it to send that part number's information to add to a quote. So, here's a model of Worksheet A:
Quantity Part# Desc.Line1 Desc.Line2 U.Price T.Price
0 pn1 desc1 desc2 1.24 0.00
2 pn2 desc1 desc2 5.00 10.00
0 pn3 desc1 desc2 3.76 0.00
3 pn4 desc1 desc2 1.25 3.75
1 pn5 desc1 desc2 9.14 9.14
I want this to generate the following output in worksheet B:
Item Quantity Part# Description U.Price T.Price
1 2 pn2 desc1 5.00 10.00
desc2
2 3 pn4 desc1 1.25 3.75
desc2
3 1 pn5 desc1 9.14 9.14
desc2
Total: 22.89
Note that all the parts that have an order quantity greater than zero have been included in Worksheet B, but there are no zero quantity entries. If the total number of items exceeds a certain number (i.e. the number that would fill up a page), I also want to be able to create a new header beneath the first page so that it prints as a quote.
If you have any questions, please ask. I already tried posting this question, but I don't think I was clear enough about the problem. Thanks!
Dan