+ Reply to Thread
Results 1 to 5 of 5

Search string in a column then copy entire rows to another sheet

  1. #1
    Registered User
    Join Date
    09-11-2011
    Location
    UAE
    MS-Off Ver
    Excel 2007
    Posts
    1

    Search string in a column then copy entire rows to another sheet

    Im new to VBA and would really appreciate if anyone can help me with this.

    I have a sheet with the range of A1:X15000. I'd like to search for a string in column C using an input box and then copy entire rows to another sheet including the header.

    hope you can help me.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Search string in a column then copy entire rows to another sheet

    It will be good if you can provide a sample workbook. We can provide you the code, otherwise you will have to do a lot of changes at your end.

  3. #3
    Registered User
    Join Date
    03-16-2004
    Location
    UK
    MS-Off Ver
    2003
    Posts
    85

    Re: Search string in a column then copy entire rows to another sheet

    I would use the match formula.

    Please Login or Register  to view this content.
    N.B. your search term is in 'A1'.
    Phil

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Search string in a column then copy entire rows to another sheet

    I suspect there is more to your question to come, however try this as a starter
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    11-12-2013
    Location
    Isle of wight, England
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Search string in a column then copy entire rows to another sheet

    Hi All
    New here and complete newbie to excel (using 2007)
    I’m working in a school and I was wondering if I could adapt this to search a column (in this case m) for any grades of >0 to <0.6 and copy those rows to another sheet and then do the same for >0.6 to <0.8 and move those rows to a new sheet and so on through around 10 searches.
    Thanks in advance for any help

+ 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