searchable drop-dwn in excel and vllookup to display data

NetSy

New member
Joined
Jun 9, 2019
Messages
2
Reaction score
0
Points
0
Excel Version(s)
2016
hi,

how can i retrieved data selected from searchable combo box values and vlookup with data in sheet3. e.g if 'ban ki moon' is selected then roles should be "Politician" displayed in the roles cell.
 

Attachments

  • Searchable drop down list.xlsb
    20.7 KB · Views: 10
See attached.
Set properties like the pictures.

combo.jpg
Code goes in sheet Searchable_dropdown_list1 (2) module.
Code:
Private Sub ComboBox1_Click()
    [H7].Value = ComboBox1.Column(1)
End Sub
 

Attachments

  • Searchable drop down.xlsb
    25.1 KB · Views: 12
hi, thxs a lot.
I have more query & help pls..
In sheet3 of the excel, I have added some more columns i.e
(C = Category and D = Country) and I want to return values in column D when the specific record is selected in the drop-down.

how can I amend the code pls?
 
Hi,
Like this?
 

Attachments

  • Searchable drop down(v2).xlsb
    25.9 KB · Views: 15
Back
Top