Copy row one by one and paste into another worksheet

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,362
Office Version
  1. 2010
Hello,<o:p></o:p>

I got sheet named "DATA" in this sheet got data filled in cells A6:P560,<o:p></o:p>


I am looking VBA which can copy each Row one by one from "Data" sheet starting from A6:P6 copy this row and paste into sheet named "Summary" starting from cell A6<o:p></o:p>


"
Then I got macro will do some task"


Copy nextrow A7:P7 from data sheet and paste in to cell A7 in to sheet named "Summary"


Do copypaste till last row A560:P560 from sheet "Data" to "Summary"


Is it possible?<o:p></o:p>


Thank you all<o:p></o:p>

Excel 2000<o:p></o:p>
Regards,<o:p></o:p>
Moti
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hello,<o:p></o:p>

I got sheet named "DATA" in this sheet got data filled in cells A6:P560,<o:p></o:p>


I am looking VBA which can copy each Row one by one from "Data" sheet starting from A6:P6 copy this row and paste into sheet named "Summary" starting from cell A6<o:p></o:p>


"
Then I got macro will do some task"


Copy nextrow A7:P7 from data sheet and paste in to cell A7 in to sheet named "Summary"


Do copypaste till last row A560:P560 from sheet "Data" to "Summary"


Is it possible?<o:p></o:p>


Thank you all<o:p></o:p>

Excel 2000<o:p></o:p>
Regards,<o:p></o:p>
Moti

Try this out

Code:
Sub Moti()
For i = 6 To 560
    Worksheets("Data").Range("A" & i & ":P" & i).Copy Worksheets("Summary").Range("A" & i)

'Insert your macro task stuff here


Next i
End Sub
 
Last edited:
Upvote 0
Try this out

Code:
Sub Moti()
For i = 6 To 560
    Worksheets("Data").Range("A" & i & ":P" & i).Copy Worksheets("Summary").Range("A" & i)

'Insert your macro task stuff here


Next i
End Sub
Hello Nine Zero, code looks precise and it is working fine just as requested.

Thank you very much for your kind help

Kind Regards,
Moti
 
Upvote 0

Forum statistics

Threads
1,214,917
Messages
6,122,233
Members
449,075
Latest member
staticfluids

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
Back
Top