Hi all, I have the code below that works as needed, but I'm looking at enhancing it further. I want run the code below, and then have cell F5 increase by 1 and then rerun the code below. I want to do this until F5 hits 40. Appreciate any help and assistance.
Code:
Range("P8").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Upload").Range("A" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial Paste:=xlPasteValues
End With
Range("Q8").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Upload").Range("A" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial Paste:=xlPasteValues
End With
Range("A8").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Upload").Range("B" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial Paste:=xlPasteValues
End With
Range("A8").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Upload").Range("B" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial Paste:=xlPasteValues
End With
Range("M8").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Upload").Range("C" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial Paste:=xlPasteValues
End With
Range("M8").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
With Sheets("Upload").Range("C" & Rows.Count).End(xlUp).Offset(1)
.PasteSpecial Paste:=xlPasteValues
End With