+ Reply to Thread
Results 1 to 2 of 2

Find, Copy, Past Repeat

Hybrid View

lukenz21 Find, Copy, Past Repeat 10-23-2012, 04:48 PM
venkat1926 Re: Find, Copy, Past Repeat 10-23-2012, 11:27 PM
  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Find, Copy, Past Repeat

    Hi Everyone,

    I am new to the Forum and sort of New to VBA etc.

    I currently trying to write a macro to find a value from another cell and then copy some other cells off that line to the cells next to it. Simple right??? I will try and explain further

    What I am after is a search on Cell D2 to find a match in Column E. When a match is found it will copy and paste cells A, B, C of the corosponding matched line in celll F2, G2, and H2. If another match is found it will paste these in I2, J2, K2 etc. Once the search gets to the bottom of the list I want it to loop and then search D3 against Column E and reapeat until the bottom of D column is found to be empty.

    I can with inreason do all parts of this singularily however I seem to have trouble working out a good way to loop. I have tried the find macro however I then get very lost in all of the parametres it would be nice if these were really spelled out??

    Any help and ideas are greatly appreciated.

    Luke

    Name..... Address One......... Address Two......... 15..........65
    Name..... Address One......... Address Two..........19......... 44
    Name..... Address One......... Address Two......... 23......... 17
    Name..... Address One..........Address Two......... 35......... 19
    Name..... Address One......... Address Two......... 18......... 21
    Name..... Address One......... Address Two......... 28......... 5
    Name..... Address One......... Address Two......... 19......... 37
    Last edited by lukenz21; 10-23-2012 at 04:50 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Find, Copy, Past Repeat

    difficult to copy your data into excel and then prepare a solution and test. there is an excellent provision in this newsgroup to ATTCH A FILE . see below the message body "manage attachment" use that and attach your file and explain. If you do not prefer to use thea ctual addressess or other values you can use some random entries like A B C etc. and nummbers somer random numbers.
    I am not an expert. better solutions may be available
    $$$$venkat1926$$$$@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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