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

record a macro to copy data and paste into next empty column on another worksheet?

$
0
0
Hi guys,

I hope you can help, because I am stuck in doing the following:

What I would like to do is create a macro which will copy data from cells D5:D9 (in sheet 1) and paste into cells D4:D8 in sheet2.
The following month, I would like the data to be copied from the same cells, but pasted into cells E4:E8 and so on.
Please see attached for example.
I have tried using option explicit, but was getting syntax error.

I hope you can help?

Regards

N
Attached Files

Viewing all articles
Browse latest Browse all 50260