VBA - copy and paste between sheets not pasting in the right location
问题 I am using VBA to paste some data from one sheet to another. The first button press works as it is designed to (updating a row i45 etc). The second button press was meant to paste data to the next row (i46 etc..) as it is empty row) but it actually updates the row i21 any subsequent presses just update i21 overwriting. Can you please check what I have done wrong. Private Sub CommandButton1_Click() Application.ScreenUpdating = False Dim copySheet As Worksheet Dim pasteSheet As Worksheet Set