Looking into a list and returning that products' code


Posted by Francis on August 10, 2001 1:55 AM

I wonder if someone can tell me how in VBA code I could from a user's input which might not be exactly right.

In most cases the mapping needs to probably work from the first word that the user enters i.e. the user might have typed just the word "Repair" and in my list of codes there is the following options:

Repair of cars
Repair of boats
Repair of ships
Repair of work-tops

I need these choices to come up as a pull down option list where he can select the right one unless he has an identical match. From this there will be a code in column A which is a number I want this number to be copied into my "New Data" sheet.

Any ideas?

Francis



Posted by Cory on August 10, 2001 7:49 AM

Rather than having the user type anything in, why not just add a couple comboboxs that the user selects your options from? That way they can't type in something incorrectly. Unless you just want to give them something to do...

Cory