B Bobby J May 27, 2009 #1 I'm writing a macro to cut and paste data to the next blank row in an Excel file. Any ideas?
D Don Guillett May 27, 2009 #4 Depends of what you want. No difference IF no blanks nextblankrow=cells(activecell.row,"a").end(xldown).row+1 lastblankrow=cells(rows.count,"a").end(xlup).row+1
Depends of what you want. No difference IF no blanks nextblankrow=cells(activecell.row,"a").end(xldown).row+1 lastblankrow=cells(rows.count,"a").end(xlup).row+1
R Rakesh Sharma May 29, 2009 #5 Check out:http://www.mrexcel.com/articles/copy-to-next-blank-row.php - Show quoted text - Click to expand... Use this Range("A1").end(xldown).offset(1,0).select Activesheet.paste Regards Rakesh
Check out:http://www.mrexcel.com/articles/copy-to-next-blank-row.php - Show quoted text - Click to expand... Use this Range("A1").end(xldown).offset(1,0).select Activesheet.paste Regards Rakesh