<article>
Hello. First let me say thank you for your help. I'm sorry if this answer is elsewhere, but I've had troubles trying to adjust others solutions to fit my needs. Unfortunately, my skill level is that low.
What I need is to create a matrix of prices. I need to fill up every cell in the Base Price document (https://www.dropbox.com/s/wmxw3580nb5u5e1/Base Price.xls?dl=0)
By entering in certain criteria into Q_Input (https://www.dropbox.com/s/d1yr6ppak5gogje/Q_Input.xlsx?dl=0). Q_Input is part of a larger document that does all the complicated calculations but I separated it out to keep the confidential info confidential. in theory by changing 5 factors:
1. # layers
2. Lamination Type
3. Panel
4. Thickness
5. Quantity
a total is calculated and shown in cell "E6". Most likely the total won't calculate now since I separated it from the calculating part. But that is fine. I'm more concerned about copying and pasting the value from E6 into the Base price table.
I created a macros so that it will fill in the first cell by having it copy and paste the information into the table and then copy and paste the solution into the matrix. But, I don't know how to get it to do the same thing to the next cell and so on.
Here is my Macros:
Code (vb):
Sub Macro17()
Macro17 Macro
Sheets("Base Price").Select
Range("E25").Select
Selection.Copy
Sheets("Q_Input").Select
Range("F16").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("E24").Select
Selection.Copy
Sheets("Q_Input").Select
Range("F13").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("$C$27").Select
Selection.Copy
Sheets("Q_Input").Select
Range("C14").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("D26").Select
Selection.Copy
Sheets("Q_Input").Select
Range("F20").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("$C$40").Select
Selection.Copy
Sheets("Q_Input").Select
Range("C13").Select
ActiveSheet.Paste
Sheets("Q_Input").Select
Range("E6").Select
Selection.Copy
Sheets("Base Price").Select
Range("E26").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End Sub
Any help you can give me is much appreciated!
Sincerely,
Cherry Chui
</article>What I need is to create a matrix of prices. I need to fill up every cell in the Base Price document (https://www.dropbox.com/s/wmxw3580nb5u5e1/Base Price.xls?dl=0)
By entering in certain criteria into Q_Input (https://www.dropbox.com/s/d1yr6ppak5gogje/Q_Input.xlsx?dl=0). Q_Input is part of a larger document that does all the complicated calculations but I separated it out to keep the confidential info confidential. in theory by changing 5 factors:
1. # layers
2. Lamination Type
3. Panel
4. Thickness
5. Quantity
a total is calculated and shown in cell "E6". Most likely the total won't calculate now since I separated it from the calculating part. But that is fine. I'm more concerned about copying and pasting the value from E6 into the Base price table.
I created a macros so that it will fill in the first cell by having it copy and paste the information into the table and then copy and paste the solution into the matrix. But, I don't know how to get it to do the same thing to the next cell and so on.
Here is my Macros:
Code (vb):
Sub Macro17()
Macro17 Macro
Sheets("Base Price").Select
Range("E25").Select
Selection.Copy
Sheets("Q_Input").Select
Range("F16").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("E24").Select
Selection.Copy
Sheets("Q_Input").Select
Range("F13").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("$C$27").Select
Selection.Copy
Sheets("Q_Input").Select
Range("C14").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("D26").Select
Selection.Copy
Sheets("Q_Input").Select
Range("F20").Select
ActiveSheet.Paste
Sheets("Base Price").Select
Range("$C$40").Select
Selection.Copy
Sheets("Q_Input").Select
Range("C13").Select
ActiveSheet.Paste
Sheets("Q_Input").Select
Range("E6").Select
Selection.Copy
Sheets("Base Price").Select
Range("E26").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End Sub
Any help you can give me is much appreciated!
Sincerely,
Cherry Chui