on-internet
← Community

Loop to copy and paste one row below the last paste

Stack Overflow ·

I want to copy data from one spreadsheet and paste to another, one row below the last paste. I need to copy data from E2:P2 on sheet "Dividends" and paste firstly on C11:N11, then tomorrow if I run again paste on C12:N12 and always one row below. The code pastes the data on C111:N111, and if I run again it pastes on the same range. Sub Copy_range() ' edit line below to change where data will be copied from Worksheets("Dividends").Range("E2:P2").Copy ' copy the value ' select the first cell on the "Draft" sheet Worksheets("Draft").Select ActiveSheet.Range("C11").Select Dim count As Integer coun

Comments

Sign in or sign up to comment and upvote.

No comments yet.