ExcelBanter

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

john_liu

How to copy entire row into next row by macro
 
How can I copy an entire row into the next row by a macro. Thanks for your
help.



Nick Hodge

How to copy entire row into next row by macro
 
John

I doubt this is the full extent of your request, but to do literally what
you ask. Works by copying entire row of the selected cell(s)

Sub CopyToRowDown()
Selection.EntireRow.Copy Destination:=Selection.Offset(1, 0)
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"john_liu" wrote in message
...
How can I copy an entire row into the next row by a macro. Thanks for your
help.






All times are GMT +1. The time now is 12:13 PM.

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