ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to copy entire row into next row (https://www.excelbanter.com/excel-programming/310841-how-copy-entire-row-into-next-row.html)

john_liu

how to copy entire row into next row
 
how can i copy an entrie row into the next row by macro. Thanks for your
help



Mike Fogleman

how to copy entire row into next row
 
Rows("1:1").Copy Destination:=Rows("2:2")

"john_liu" wrote in message
...
how can i copy an entrie row into the next row by macro. Thanks for your
help





Don Guillett[_4_]

how to copy entire row into next row
 
this will copy the active row down one

Sub copyentirerow()
Rows(ActiveCell.Row).Copy Rows(ActiveCell.Row + 1)
End Sub

--
Don Guillett
SalesAid Software

"john_liu" wrote in message
...
how can i copy an entrie row into the next row by macro. Thanks for your
help






All times are GMT +1. The time now is 06:08 PM.

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