Hi,
I have a worksheet with 20 columns, the below code copies my data in the first 10 columns. However, I would like to skip columns 11-15 but include columns 16-20 in my range copy; what would be the best way to do this?
Thank you!
I have a worksheet with 20 columns, the below code copies my data in the first 10 columns. However, I would like to skip columns 11-15 but include columns 16-20 in my range copy; what would be the best way to do this?
Code:
With Workbooks(rFile).Worksheets("Master List").Range("A1")
Run rFile & "!replist"
Range(.Offset(0, 0), .Offset(0, 10).End(xlDown)).Copy
End With
With ThisWorkbook.Worksheets("REV")
.Range("A1").PasteSpecial xlPasteAll
Application.CutCopyMode = False
End With
Thank you!