I have a user form that I would like to modify the code on, It has a list box that pulls up a part#, then it has a text box for the cost of that part. In the text box I would like to do a vlookup that refers to the list box and pulls in the cost from a table. Currently the text box has this code.
Private Sub In_CostPerUnit_Change()
'Fill with PN In_CostPerUnit
In_CostPerUnit.Value = Range("U12").Value
is there code I can add to do a vlooup?
thanks in advance for your help
Private Sub In_CostPerUnit_Change()
'Fill with PN In_CostPerUnit
In_CostPerUnit.Value = Range("U12").Value
is there code I can add to do a vlooup?
thanks in advance for your help