Copy & paste Macro

Dazed & Confused

New Member
Joined
Jul 29, 2010
Messages
3
Hi Members, I'm not sure if this is possible i've just started playing around with Excel, im trying to figure out if i can create a macro to copy & paste a formula in a single column cell by cell very basic this is as far as I have got...
Sub Macro1()
Range("E1").Select
Selection.Copy
Range("E2").Select
ActiveSheet.Paste

Application.CutCopyMode = False
Which is not very useful to me I was hoping to run 1 macro to copy Range E1 E2, E2 E3,
E4 E5, E6 E7 and so on. I may be asking too much. I'm using 07 Thanks.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Dannyh1

Well-known Member
Joined
Nov 18, 2009
Messages
1,144
Hi,

Do you want to:
copy E1:E2 paste into E2
copy E2:E3 paste into E3
copy E3:E4 paste into E4

etc.

Are the cell values or formula?
 

njimack

Well-known Member
Joined
Jun 17, 2005
Messages
7,772
Try this: (untested)

Sub TEST()
Dim n as Long
For n = 1 to 7
Range(cells(n,5),cells(n+1,5)).Copy Destination:= cells(n+1,5)
Next n
End Sub
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,774
Messages
5,833,620
Members
430,221
Latest member
jmmccormick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top