Hello
I have the code below but cant workout how to code it to paste until the last data cell in column A.
Any help would be appreciated
Thank you
I have the code below but cant workout how to code it to paste until the last data cell in column A.
VBA Code:
Sub Title()
Dim srcWS As Worksheet, desWS As Worksheet
Set srcWS = Workbooks("Inventory Import (Full) - Washout Template.xls").Worksheets("Routing Info")
Set desWS = Workbooks("Inventory Import (Full) - Washout Template.xls").Worksheets("Routing Info")
With desWS
srcWS.Range("B2:AI5").Copy
.Cells(.Rows.Count, "B").End(xlUp).Offset(1).PasteSpecial xlPasteValues
End With
Application.CutCopyMode = False
End Sub
Thank you