Hi there,
i know there are lot of threads about this. I need to copy only values. So we did something like this to avoid clipboard:
Worksheets("Sheet1").Range("C5:C31").Value = Worksheets("Sheet2").Range("A5:A31").Value
Worksheets("Sheet1").Range("E5:E31").Value = Worksheets("Sheet2").Range("B5:B31").Value
Worksheets("Sheet1").Range("G5:H25").Value = Worksheets("Sheet2").Range("R4:S24").Value
Worksheets("Sheet1").Range("F12:F25").Value = Worksheets("Sheet2").Range("Q11:Q24").Value
Worksheets("Sheet1").Range("I12:I20").Value = Worksheets("Sheet2").Range("K11:K19").Value
Worksheets("Sheet1").Range("J12:J20").Value = Worksheets("Sheet2").Range("N11:N19").Value
Worksheets("Sheet1").Range("I26:I27").Value = Worksheets("Sheet2").Range("K20:K21").Value
Worksheets("Sheet1").Range("J26:J27").Value = Worksheets("Sheet2").Range("N20:N21").Value
These are just a sample of rows. We have much more to copy. Can i write it more efficient. The range never changes it is still the same.
Thanks for any help.
i know there are lot of threads about this. I need to copy only values. So we did something like this to avoid clipboard:
Worksheets("Sheet1").Range("C5:C31").Value = Worksheets("Sheet2").Range("A5:A31").Value
Worksheets("Sheet1").Range("E5:E31").Value = Worksheets("Sheet2").Range("B5:B31").Value
Worksheets("Sheet1").Range("G5:H25").Value = Worksheets("Sheet2").Range("R4:S24").Value
Worksheets("Sheet1").Range("F12:F25").Value = Worksheets("Sheet2").Range("Q11:Q24").Value
Worksheets("Sheet1").Range("I12:I20").Value = Worksheets("Sheet2").Range("K11:K19").Value
Worksheets("Sheet1").Range("J12:J20").Value = Worksheets("Sheet2").Range("N11:N19").Value
Worksheets("Sheet1").Range("I26:I27").Value = Worksheets("Sheet2").Range("K20:K21").Value
Worksheets("Sheet1").Range("J26:J27").Value = Worksheets("Sheet2").Range("N20:N21").Value
These are just a sample of rows. We have much more to copy. Can i write it more efficient. The range never changes it is still the same.
Thanks for any help.