Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49906

Copy row of data, paste in another worksheet, delete some of the cells copied

$
0
0
Hi,

At the moment, I have this code:

Code:

With Sheets("Properties")
Sheets("Archive").Cells(Rows.Count, 1).End(xlUp).Offset(1).Resize(, 47) = .Cells(CurrentRow, 1).Resize(, 47).Value
.Cells(CurrentRow, 1).EntireRow.Delete shift:=xlUp
End With

What I want to do is change the formula so it copies the whole row, moves it to another sheet, but I want it so rather than delete the entire row, to only delete some of the cells in the same row.

Is this possible to do?

I hope I have explained this clearly enough :)

Viewing all articles
Browse latest Browse all 49906

Trending Articles