Macro for pasting column data x number of times in one column with space after every pasting

sara2009

New Member
Joined
Apr 1, 2013
Messages
16
Hello, i hv been really struggling with this. please help me with a macro that would paste data from SHEET 1 column L data range is (L2:L29) to paste in column L for x number of times and keep 1 blank CELL after every paste. e.g number of times i hv to paste is 800.

Col L
E1P
E1T
E3P
E3T
E7P
E7T
SK1P
SK1T
SK4P
SK4T
SK7P
SK7T
J3P
J3T
J4P
J4T
HI5P
HI5T
HI6P
HI6T
K3P
K3T
H5P
H5T
U6P
U6T
SAY6P
SAY6T

<TBODY>
</TBODY>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
sara2009,

Welcome to Mr Excel.

Perhaps try this....

Code:
Sub MyFill()
Application.ScreenUpdating = False
Set MyRange = ActiveSheet.Range("L2:L29")
r = 2
For n = 1 To 800
r = r + 29
Range("L" & r & ":L" & r + 27).Value = MyRange.Value
Next n
Application.ScreenUpdating = True
Beep
End Sub

Hope that helps.
 
Upvote 0
thanks snakehips,,it worked like MAGIC!!!!!! THANKSSSS ALOTTT i cant biliv how FAST THAT WAS to do!!!
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,749
Members
448,989
Latest member
mariah3

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