+ Reply to Thread
Results 1 to 2 of 2

loop Search, copy paste,next search, copy paste ...

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Spain
    MS-Off Ver
    Excel 2010
    Posts
    3

    Unhappy loop Search, copy paste,next search, copy paste ...

    Hello everyone, I’m new to excel forums so bear with me on this one.

    I’ve tried a bit of everything, but my programing skills with excel are limited.

    The idea i have is the next:

    Got 2 files:
    1º - Where all the details are found and from where it will be extracted.
    2º - Where the data will be copied to. The cell that was searched for, will be searched in this file too to paste

    in other words, I need to be able to extract and make a loop search of all that is in Range(AH13:AH67) and for each that is found, run the code that comes after(or something similar)

    Or that list or the list that’s in the file 1 in column AB to make the search faster.
    (This last list has never the same amount of weeks and cells occupied. Only the ones illustrated in the document.)
    Ill post the 2 files and paste the code:

    Please Login or Register  to view this content.
    Ill appreciate all the help given

    PD: sorry if ive spelled something wrong

    ***Code updated. Had a little mistake.

    ************
    *******EDIT:

    At the end i worked it out and some other bugs that came up:
    Please Login or Register  to view this content.
    Last edited by Macrodroid; 11-12-2011 at 01:35 PM.

  2. #2
    Registered User
    Join Date
    11-10-2011
    Location
    Spain
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: loop Search, copy paste,next search, copy paste ...

    Figured out this much so far.
    Now i just need to make the search cell jump to the next cell, any ideas?

    Please Login or Register  to view this content.
    I dont know if i should be using the "offset" to change to the next cell.


    This is what i got untill now:

    Please Login or Register  to view this content.
    Last edited by Macrodroid; 11-12-2011 at 08:56 AM.

+ 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