H
Howard
This code works, but how can I clean it up to be a little more efficient. I'm
just trying to learn the code and the technique on a small scale before I
apply it to the real project.
Just multiplying one column by another, then Copy>PasteSpecial>Values.
Dim Row As Long
Row = Cells(1, 3).CurrentRegion.Rows.Count
Range(Cells(1, 3), Cells(Row, 3)).Formula = "=RC[-2]*RC[-1]"
Row = Cells(1, 3).CurrentRegion.Rows.Count
Range(Cells(1, 3), Cells(Row, 3)).Copy
Range(Cells(1, 3), Cells(Row, 3)).PasteSpecial Paste:=xlPasteValues, _
Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Thanks,
--Howard
just trying to learn the code and the technique on a small scale before I
apply it to the real project.
Just multiplying one column by another, then Copy>PasteSpecial>Values.
Dim Row As Long
Row = Cells(1, 3).CurrentRegion.Rows.Count
Range(Cells(1, 3), Cells(Row, 3)).Formula = "=RC[-2]*RC[-1]"
Row = Cells(1, 3).CurrentRegion.Rows.Count
Range(Cells(1, 3), Cells(Row, 3)).Copy
Range(Cells(1, 3), Cells(Row, 3)).PasteSpecial Paste:=xlPasteValues, _
Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Thanks,
--Howard