+ Reply to Thread
Results 1 to 4 of 4

Search for multiple string values and copy row to new sheet

  1. #1
    Registered User
    Join Date
    01-22-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    9

    Search for multiple string values and copy row to new sheet

    Hi,
    I have some VBA codeof the internet that works fine except it only searches for one string value within the chosen column.

    I really need it to search for 3 different strings values and copy the row of data to the new sheet.

    Please Login or Register  to view this content.
    Can anyone help ???

    Thanks
    Steeley7

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Search for multiple string values and copy row to new sheet

    Easiest would be to do this:
    Please Login or Register  to view this content.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Registered User
    Join Date
    01-22-2009
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Search for multiple string values and copy row to new sheet

    thanks will give it a whirl

  4. #4
    Registered User
    Join Date
    07-21-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Search for multiple string values and copy row to new sheet

    Hi

    Is there anyway to modify this macro so that the items to be searched (e..g.) can be listed in another sheet in column A, instead of hardcoding the the items

    Column A, sheet3
    Brew
    Second String
    Third String


    So the macro goes through each of the cells / strings in column a of sheet 3, finds a match in current sheet, and dumps that row into sheet2.

    thanks

+ 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