Results 1 to 6 of 6

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

Threaded View

  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:

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

    Sub test()
    
    Range("u22").Select
    Selection.Copy
    Range("d236").PasteSpecial xlPasteValues
    
    Range("d255").Select
    Selection.Copy
    Range("v22").PasteSpecial xlPasteValues
    
    Range("d249").Select
    Selection.Copy
    Range("w22").PasteSpecial xlPasteValues
    
    End
    =======================

    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

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