I have a range of data C40:F57.
I need to copy C40:F40 to C26:F26, run some calculations and copy cell B34 and B35 and paste special to G40:H40.
Your code above let me copy C40:F40 to C26:F26 and then repeat the copy steps for C41:F57. How do I accomplish:
Copy cell B34 and B35 and paste special (values) to G40:H40. Note this needs to be a loop too same loop where paste special needs to go to the range
G40:H57. First paste special will be to G40:H40, then to G41:H41 and go to G57:H57.
Code I have so far is:
Dim i As Long
For i = 40 To 57
'value = i
Cells(i, 3).Resize(, 4).Copy Destination:=Cells(26, 3)
Cells(34, 2).Resize(1, 1).Copy Destination:=Cells(i, 7) ----> This did not work
Cells(35, 2).Resize(1, 1).Copy Destination:=Cells(i, 8) ----> This did not work
Next i
Bookmarks