Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear All,
I have userform. As soon as the user selects the value from combobox the another test box lookup the value from certain table & returns the result in textbox. (Here I used the vlookup function). The combobox list is having alphanumerical value as well as numerical value. If user selects the alphanumerical value from combobox, it working fine. But if user selects the numerical value, it doesn't work.The Vlookup function fails here. Any idea? Codes are he Private Sub cboPart_Change() Dim LookupRange As Range On Error Resume Next Err.Clear Set LookupRange = Worksheets("LookupLists").Range("A:I") If cboPart < "" Then Me.LblDesc = Application.WorksheetFunction.VLookup _ (Me.cboPart.Value, LookupRange, 3, 0) If Err.Number < 0 Then MsgBox "An Error occurred ! Plz. check the Part Code!" Exit Sub End If End If End Sub -- Thanks in advance. Vikram P. Dhemare |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
fill combobox depending on selection from another combobox | Excel Discussion (Misc queries) | |||
Combobox items determined by the selection in another combobox | Excel Programming | |||
Combobox options based on the input of another combobox | Excel Programming | |||
ComboBox list reliant on the entry from a different ComboBox | Excel Programming | |||
How Do I Load A ComboBox RowSource From The Results Of Another ComboBox | Excel Programming |