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

Code for insert copied rows

$
0
0
I'm trying to copy rows and insert the copied rows into another sheet. (To avoid overwriting the other data) If I put activesheet.paste it bugs. The macro recorder just records:

Code:

Selection.Insert Shift:=xlDown
This doesn't paste the copied cells when I run it. It just creates 1 new row.

Any help?

Viewing all articles
Browse latest Browse all 50085

Trending Articles