+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    01-29-2010
    Location
    Provo, Utah
    MS-Off Ver
    Excel 2007
    Posts
    6

    copying the results of using FIND tool

    I have two workbooks. I want to use the 'Find' tool on workbook A and search for a single word or string, upon clicking 'Find All' it displays the results below. I want to make a macro that will see the results and copy the ENTIRE row of where the result was, and paste it in tab 'my results' on worksheet B in the next empty row.
    any suggestions? was I clear enough?

  2. #2
    Forum Guru JBeaucaire's Avatar
    Join Date
    03-21-2008
    Location
    Bakersfield, CA
    MS-Off Ver
    2010
    Posts
    18,228

    Re: copying the results of using FIND tool

    If the text string is being searched for in the same column, then the AUTOFILTER was designed for this.

    1) Turn on the Autofilter (DATA > FILTER > AUTOFILTER)
    2) Click on the column drop down
    3) Select Custom
    4) Use Contains: myvalue

    Now you're looking at all the rows with that value in that column. Copy the whole thing to another sheet.

    Those steps can be made into a macro, but that may be overkill.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

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.2.0