I have been searching the forum for this code but without success (sorry in advance I am sure it must be here somewhere). I need a simple partial match text search and select from results function/code.
I have a table with 1000+ rows of products. Column 3 has the user meaningful product description. I would like to use a combobox where the user types in some text and on pressing return the combobox lists all rows that contain the text as part of the field in column 3. The user then looks down the list and selects a product. On selection I just need the row number so I can populate a userform with the data from that row.
Example with 6 columns (excuse the formatting):
1103 , Moda Pre-cuts , Moda Bella Solids Natural 9900-12 Jelly Roll , 6 0 0
1101 , Moda Pre-cuts , Moda Bella Solids White 9900-98 Jelly Roll , 1 0 0
1086 , Clearance , PB&J Creamy Red Floral 30322-11 , 2 0 0
1060 , Moda , Spectrum Pistachio 2000-G60 , 66 66 66
1066 , Moda , Spectrum Steel 2000-S62 , 14 0 0
1067 , Moda , Spectrum White 2000-T63 , 43 0 0
1068 , Moda , Spectrum Vanilla 2000-Q60 , 56 0 0
User searches for "White" and the combobox has 2 rows taken from column 3 containing; "Spectrum White 2000-T63" , "Moda Bella Solids White 9900-98 Jelly Roll" . The user selects Spectrum white in the combobox and I get back row number 6.
Hope this makes some sense. Thanks in advance.
Tony
Bookmarks