ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   cell copying (https://www.excelbanter.com/excel-programming/295664-re-cell-copying.html)

Ron de Bruin

cell copying
 
Example for column A

Sub copytest()
Range("A" & Rows.Count).End(xlUp).copy _
Range("A" & Rows.Count).End(xlUp).Offset(1, 0)
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"marcde" wrote in message ...
I want to write a macro which searches for the last cell in a colum and copy this cell to the next cell below, each time the macro

is performed.




All times are GMT +1. The time now is 11:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com