I have a macro copying data from one spreadsheet and I want to paste it to the next available row in a master spreadsheet. However, it is pasting over the last row that I populated. Currently on row 620, I want it to paste on row 621 and then next time I run macro, row 622 and so on
In 2019, I will begin at row 3 on new spreadsheet.
Sub Paste()
'
' Paste Macro
'
'
    Range("B24:AQ24").Select
    Selection.copy
    Windows("Sales  - 2018.xlsx").Activate
    ActiveWindow.SmallScroll Down:=3
    Range("B620").Select
    Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
        True, Transpose:=False
    Windows( _
        "Invoice Company B Limited Partnership.xlsx" _
        ).Activate
End Sub
Not sure how to define next available row in the code.
Thanks for reading.
 
     
    