I am currently trying to copy and paste last row (which contains formulas) n times at the end of my data.
I have written this so far:
>>> use code - tags <<<
and it works! problem? it is very very slow... usually i just have to paste around 3-7 rows, is there a way to do that without an iteration?
In addition, how could i select all data less last row and paste as values? thank you in advance,
Laura
I have written this so far:
>>> use code - tags <<<
Code:
Dim lRow As Long
Dim i As Integer
For i = 1 To n
lRow = Ws.Cells(Rows.Count, 1).End(xlUp).Row
Ws.Range("A" & lRow).EntireRow.Copy Ws.Range("A" & lRow + 1)
Next i
and it works! problem? it is very very slow... usually i just have to paste around 3-7 rows, is there a way to do that without an iteration?
In addition, how could i select all data less last row and paste as values? thank you in advance,
Laura
Last edited by a moderator: