+ Reply to Thread
Results 1 to 1 of 1

Edit search code criteria and rank results

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Edit search code criteria and rank results

    I am currently using the following code to fill the list box lbSamDesc with the data in Column C on sheet EquipmentData where the adjacent B Column is blank. It then removes duplicates and alphabetizes the results.

    Please Login or Register  to view this content.
    I am trying to do something similar where rather than using the criteria of instances where adjacent Column B is blank, but rather it directly searches the contents of Column C with the text in text box 'ItemDescription'.
    I will assign this code to a command button, so when the user clicks it will display all cases where the text in ItemDescription finds a match in Column C (doesn't have to be an exact match, it could just match one of, or part of a word, or string of letters in a cell). The results should remove the duplicates, and then be ranked so the most likely item is at the top (so basically cells with the most amount of matching words or string of letters appear first).
    Thanks,
    James
    Last edited by Nitefox; 06-14-2014 at 04:12 PM.

+ 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. Show Search results in userform and edit
    By cruiser102 in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 12-21-2012, 07:57 PM
  2. [SOLVED] Coyping results in Run-TIme Error 424, Need help to edit code
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-02-2012, 12:08 AM
  3. Rank results only when they meet certain criteria
    By CompleteMadness in forum Excel General
    Replies: 2
    Last Post: 01-18-2012, 12:00 PM
  4. VBA Code to Search/Edit Data Populated by Userform
    By pjohnson9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-06-2011, 04:25 PM
  5. Edit code to add extra criteria
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2008, 11:34 AM

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