What do I add to my Mascro that will paste items in the next available row?

Here is my current macro:

ActiveCell.Range("A1:H1").Select
    Selection.Copy
    ActiveCell.Offset(1, -8).Range("A1").Select
    ActiveSheet.Paste
    ActiveCell.Offset(0, 8).Columns("A:H").EntireColumn.Select
    Application.CutCopyMode = False
    Selection.Delete Shift:=xlToLeft
Liz NeversAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NorieVBA ExpertCommented:
What exactly do you want to do?

Copy A1:H1 and paste to the next available row in column A?
0
Liz NeversAuthor Commented:
Instead of event registration data being neat in rows, it is all in row 2 and repeats. So all 6 columns of Person 1's registration info runs from A2 to H2. Person 2's registration info runs from I2 to P2, and so on. So, I need to copy I1:P1 and paste it into the next available row in A:H
0
NorieVBA ExpertCommented:
So you vave data along row 1 and you want that to go down columns A:H?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Liz NeversAuthor Commented:
Correct! I want all 125 registrants to have their data down the rows between columns A:H
0
NorieVBA ExpertCommented:
Try this.
Dim arrIn As Variant
Dim arrOut() As Variant
Dim I As Long
Dim J As Long
Dim cnt As Long

    arrIn = Range("A1").CurrentRegion
    
    For I = 1 To UBound(arrIn, 2) Step 8
        cnt = cnt + 1
        ReDim Preserve arrOut(1 To 8, 1 To cnt)
        
        For J = 1 To 8
            arrOut(J, cnt) = arrIn(1, I + J - 1)
        Next J
    
    Next I
        
    Range("A2").Resize(UBound(arrOut, 2), 8).Value = Application.Transpose(arrOut)
    
    Rows(1).ClearContents

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TracyVBA DeveloperCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Norie (https:#a42356984)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

broomee9
Experts-Exchange Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Office

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.