+ Reply to Thread
Results 1 to 6 of 6

Search Column and Selecting Rows with Matching Text

  1. #1
    Registered User
    Join Date
    06-04-2014
    Posts
    3

    Lightbulb Search Column and Selecting Rows with Matching Text

    Hey all,

    I've been trying to figure out a VBA for the following but I'm not having much luck. Much love if you could help!

    I'm trying to see if column AG includes certain text, such as "bar". For each positive match in this column I'd like to select the entire row and copy said row to another spreadsheet.

    Please let me know if you can help or need further clarification!

    Thanks so much!

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Search Column and Selecting Rows with Matching Text

    Hi,

    Welcome to the forum - try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    06-04-2014
    Posts
    3

    Re: Search Column and Selecting Rows with Matching Text

    Quote Originally Posted by xladept View Post
    Hi,

    Welcome to the forum - try this:

    Please Login or Register  to view this content.
    Thanks so much, you've already been so helpful! I'm getting error 13 mismatch on:

    Please Login or Register  to view this content.
    Any ideas?

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Search Column and Selecting Rows with Matching Text

    Maybe:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-04-2014
    Posts
    3

    Re: Search Column and Selecting Rows with Matching Text

    You Are A Genius!

    This works wonders!!!! Thank you so much. Really saving me so much time. : )


  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Search Column and Selecting Rows with Matching Text

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Search rows to find specific text and move to a different column ?
    By Udaipur99 in forum Excel - New Users/Basics
    Replies: 19
    Last Post: 03-19-2014, 01:11 PM
  2. [SOLVED] Search a column and code all rows with matching value in another column
    By lazypony in forum Excel Formulas & Functions
    Replies: 37
    Last Post: 08-03-2013, 11:23 AM
  3. [SOLVED] Search matching Info in One Column and carry those rows into new worksheet
    By saduff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-21-2012, 12:57 PM
  4. Search for matching text, then delete rows above it.
    By mainer188 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-09-2009, 05:33 PM
  5. Selecting rows of data with specific text in a column?
    By Buckster_uk in forum Excel General
    Replies: 1
    Last Post: 01-29-2007, 10:02 AM

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