ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   to Copy the Entire Row (https://www.excelbanter.com/excel-programming/362345-copy-entire-row.html)

Steved

to Copy the Entire Row
 
Hello from Steved

How would I modify please the below to copy an entire row Thankyou.

Sub Broken()
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Copy
ActiveCell.PasteSpecial
End Sub


Don Guillett

to Copy the Entire Row
 

Sub makerowvalues()
ActiveCell.EntireRow.Value = ActiveCell.EntireRow.Value
or
ActiveCell.offset(1).EntireRow.Value = ActiveCell.EntireRow.Value
End Sub

--
Don Guillett
SalesAid Software

"Steved" wrote in message
...
Hello from Steved

How would I modify please the below to copy an entire row Thankyou.

Sub Broken()
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Copy
ActiveCell.PasteSpecial
End Sub




Tom Ogilvy

to Copy the Entire Row
 
Sub Broken()
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Entirerow.Copy
cells(ActiveCell.row,1).PasteSpecial
End Sub

--
Regards,
Tom Ogilvy


"Steved" wrote:

Hello from Steved

How would I modify please the below to copy an entire row Thankyou.

Sub Broken()
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Copy
ActiveCell.PasteSpecial
End Sub


Steved

to Copy the Entire Row
 
Gentleman I thankyou.

"Steved" wrote:

Hello from Steved

How would I modify please the below to copy an entire row Thankyou.

Sub Broken()
Selection.EntireRow.Insert
ActiveCell.Offset(1, 0).Copy
ActiveCell.PasteSpecial
End Sub



All times are GMT +1. The time now is 11:05 PM.

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