I am presently doing that in an application I developed. When they select the number, I use the number as a lookup index and retrieve the description from a hidden area that populates the text box...
Sub myResult()
Worksheets("Sheet1").Select
myFound = Application.WorksheetFunction.VLookup(Range("D1"), Range("A:B"), 2, False)
MsgBox myFound
End Sub
If you build a table on any sheet in any column, one column has the code the other the description then the above VB code will pull the description of a code value and put that description into a MsgBox.
For the code above: A1 down is the code values, B1 down is the description of the code value as text.
D1 is a cell on a worksheet that has a dropdown list of all the code values. Or a input box or a cell. The user selects or enters the code value then runs the macro. The MsgBox displays the "Description of the Code Value" entered. JSW