I dont seem to be able to use PasteSpecial / know where to add it. I want to cut and paste some date (date, name, job-done etc) from a Job input sheet (the fields will clear after the Submit button is pressed) into another sheet, i want the destination sheet to move down a row each time so it collects all the info in 1 sheet. My macro does work and i have assigned it to the submit button but it also moves the cell format can anyone advise what i need to do ? PS I am a complete VBA beginner..!
my current code is below, I also tried using range instead of copy and paste which resolved the problem of the format moving with the data but then i could not make it move down a row on the target sheet, is range a better solution to copy and paste ? thanks in advance to anyone who can help
Sub submit()
'
' Submit Macro
'
'
Dim wsCopy As Worksheet
Dim wsDest As Worksheet
Dim lCopyLastRow As Long
Dim lDestLastRow As Long
Set wsCopy = Workbooks("HEATHER.xlsx").Worksheets("JOB")
Set wsDest = Workbooks("HEATHER.xlsx").Worksheets("2019")
Range("C5:G5").Select
Selection.Cut
Sheets("2019").Select
CopyLastRow = wsCopy.Cells(wsCopy.Rows.Count, "B").End(xlUp).Row
Selection.Offset(1, 0).Select
ActiveSheet.Paste
ActiveWorkbook.Worksheets(1).Activate
End Sub