+ Reply to Thread
Results 1 to 5 of 5

search and results

  1. #1
    Registered User
    Join Date
    04-19-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    40

    Question search and results

    hi guys, wondering if anyone could help me.

    im making a search form that involves pulling data from one sheet to another. (i have attached the file for your convenience)

    what i am trying to make it do is search for a value using application.match (if possible to do so based on first 6 digits only and not worry about the rest - kind of a partial match search) and then return the value + values of corresponding cells from a list sheet to a results sheet.

    my problem is i can't get it to return more than one result. please, if you have a moment help me out. thank you in advance
    Attached Files Attached Files
    Last edited by mpower87; 05-11-2010 at 07:39 PM. Reason: solved

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: search and results

    An alternative:
    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    04-19-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    40

    Re: search and results

    wow thank you so much, i only wish i had such vba skills. much appreciated.

  4. #4
    Registered User
    Join Date
    04-19-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    40

    Re: search and results

    just another quick question, how would i go about adding a msgbox if nothing is found ?

    I have tried adding an Else and a If Left(TestCell.Value, 6) <> PartSearch Then but this just causes problems and my error msgbox appears 100's of times (once for every part code that doesnt match)

    i would like to have msgbox appear if it reaches end of the list with no matches, im hopeless, would be great if someone could help
    Last edited by mpower87; 05-11-2010 at 06:12 PM. Reason: edit

  5. #5
    Registered User
    Join Date
    04-19-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    40

    Re: search and results

    all fixed, thank you for your help :-)

    Please Login or Register  to view this content.
    Last edited by mpower87; 05-11-2010 at 07:38 PM.

+ 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