Solved

Excel 2007

Posted on 2011-09-27
4
267 Views
Last Modified: 2012-05-12
Hello,
I'm trying to copy Column "D", FROM "D7" TO "D138" and paste them into Column "C" Starting "C150", Then Copy Column "E" startin g "E7" TO "E138" into Column "C" after the first paste ("C282") and so on.

Your help is appreciated.
Thanks,
sample.xlsx
0
Comment
Question by:W.E.B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 8

Expert Comment

by:wchh
ID: 36714714
Try macro code below
0
 
LVL 8

Expert Comment

by:wchh
ID: 36714718

Sub fillCells()
    Dim copyRow As Integer
    Set Rng = ActiveSheet.Range("D7:EE7")
    copyRow = 150
    For i = 4 To 138
        ActiveSheet.Columns(i).Rows("7:138").Copy ActiveSheet.Range("C" & copyRow)
        copyRow = copyRow + 132
    Next i
End Sub

Open in new window

0
 
LVL 8

Accepted Solution

by:
wchh earned 50 total points
ID: 36714724
ignore previous code...
Sub fillCells()
    Dim copyRow As Integer
        copyRow = 150
    For i = 4 To 138
        ActiveSheet.Columns(i).Rows("7:138").Copy ActiveSheet.Range("C" & copyRow)
        copyRow = copyRow + 132
    Next i
End Sub

Open in new window

0
 

Author Closing Comment

by:W.E.B
ID: 36715886
Aawsome, thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question