+ Reply to Thread
Results 1 to 6 of 6

Macro - Copy/Paste certain cells and move down column and repeat

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Macro - Copy/Paste certain cells and move down column and repeat

    Hi,

    I spent a while searching forums to get this working but I've hit a wall. I was wondering if someone here might have a better idea of using integers/loops/for/next statements than I do.

    Basically what I want to do is this:

    =======================

    Please Login or Register  to view this content.
    =======================

    So Cells D236, D255 and D249 never change. I want to start with U22, paste it to D236, then copy the results from D255 to V22 and D239 to W22. Then I want these cells (U22, V22, W22) to move down +1 (so U23, V23, W23) are used.. this process will need to repeat 100 times.

    I've tried programming a i = i +1 kind of thing but I just get hopelessly lost!

    Any help would be magical.

    Thanks.

    Rohan
    Last edited by vlady; 01-15-2013 at 07:33 PM. Reason: code tags

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Macro - Copy/Paste certain cells and move down column and repeat

    Let me see. You want D326,d255,and d249 to receive the contents of u22,v22,w22 and then up to the results of the rows below ending with u122,v122,w122? do you want to concatenate these results?

  3. #3
    Registered User
    Join Date
    01-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro - Copy/Paste certain cells and move down column and repeat

    I figured it may be easier to explain with a quick sketch - excel.jpg

    Excuse my error of placing row 249 below row 255 in the image.

    Let me know if you have any questions.

    Thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Macro - Copy/Paste certain cells and move down column and repeat

    can you provide me one sample file with some manually solved data so that i can help you?

    Regards
    CA Mahaveer Somani

  5. #5
    Registered User
    Join Date
    01-14-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro - Copy/Paste certain cells and move down column and repeat

    Please find attached spreadsheet - Macro-help.xls

  6. #6
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Macro - Copy/Paste certain cells and move down column and repeat

    read the comments in the attached file then answer me....


    Regard
    CA Mahaveer Somani
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1