Copy a range severally downwards

panyagak

Active Member
Joined
Feb 24, 2017
Messages
299
Hi Mrexcel experts

Am figuring out how to copy a range of cells, say A1:U458, downwards severak times, eg. 23 (less or more) with the next copy being A460: WITH AN EMPTY ROW SEPARATING EACH COPY.

thanks
Patrick
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Highlight all the data PLUS THE NEXT BLANK LINE BELOW IT, copy and paste into A460 then A920 then however many other times. Hold down Ctrl and Shift and press the down arrow to get to the bottom of each block of data each time.

Or did you want this to be done with a macro?
 
Upvote 0
Cross Terrier

Thats what I do MANUALLY!! (even if 30 times!!)

I need to cut that out

I hoped a vba code can do that!!
 
Upvote 0
Try this:
Code:
Sub MyCopyMacro()

    Dim myRange As Range
    Dim i As Long
    
    Application.ScreenUpdating = False
    
'   Set range to copy
    Set myRange = Range("A1:U458")

'   Copy 23 times
    For i = 1 To 23
        myRange.Copy Cells((i * 459) + 1, "A")
    Next i
   
    Application.ScreenUpdating = True
    
    MsgBox "Copy Complete!"
    
End Sub
 
Upvote 0
Solution
Thanks Joe4.

I trust you on this as you've solved my nagging vba issues previously WITH SUCCESS!!!

Cheers
 
Upvote 0
You are welcome. Glad it worked for you!
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

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