When deleting the last item in the list box an error message appears giving me a "Type Mismatch - Could not set the value property" Error. Deleting any other item in the listbox there is no problem.
The code is:
me.txtAccountNumber.Value = Application.VLOOKUP(me.lstAccountName, Sheets("AcctNames").Range ("A:B"), 2, False)
Any help would be appreciated and thank you in advance
Bookmarks