Here is how I'd do it, but may not be easiest way...
Load values into 2 column array on form load (column 1 being a-z column 2 being the values.)
If only letters, disable keypress of all other cahracters in textbox1. On keypress in textbox1,do a for loop through array to find the letter entered. return value found in textbox2.
Does this make sense?




Reply With Quote