Hi
Please could you help with my code. Keep getting an error
My aim is select cell C18 to the last row within column C then XLToRight to select column D and Copy this to Sheet "Test"
Please could you help with my code. Keep getting an error
Code:
Sub test()'
With Sheets("Logistics")
Dim wsDest As Worksheet
Set wsDest = Sheets("test")
Range("C18", Cells(Selection.End(xlDown).Row, Selection.End(xlToRight).Column)).Copy
wsDest.Cells(Rows.Count, "A").End(xlUp).Offset(1).PasteSpecial
End With
End Sub
My aim is select cell C18 to the last row within column C then XLToRight to select column D and Copy this to Sheet "Test"