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

[SOLVED] VBA Code for Copy Range

$
0
0
I keep forgetting how to do this. I usually use the newbie way of copying and pasting, but I know there's a more succinct way to do this.

Newbie way:

Code:

Range("A1").copy
Range("A2").select
activesheet.paste

I'm looking for something along these lines, but I'm getting the code wrong:

Code:

Range("A1").copyrange("A2").DoIt

Viewing all articles
Browse latest Browse all 50067

Trending Articles