Hi, I am new to vba and i needed help in this. My excel sheet consist of table names and variables and i am using a simple vlookup function to get the corresponding variable names for the particular table but the function is not working.In this the user selects the table names from the combobox and then the listbox should enter the corresponding variable names.
my vlookup function for the Combobox is
ListBox1.Value=Application.WorksheetFunction.VLookup(Me.ComboBox1.Value, Range("B:C"), 2, False)
Bookmarks