Search column & place names in list box

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,224
Office Version
  1. 2007
Platform
  1. Windows
I’ve been looking for a code this evening without any luck.
On my worksheet called SHEET1 in column A is a list of customers names.
I need to be able to search for a certain customer where I have limited information on them & be able to select them from a list box.
It would work something like this.

I would have a list box which would have a search field & below it a space for the returned names.

So I type some partial info that I know in the search field & press the search button.
In this case let’s say SMI
The code would look down column A and return any name that has SMI in it & place it in the list box.
Lee SMIles
Abdul aSMIn
SMIley miley

So I now have say 3 possible customers shown in my list box.
Clicking on the name would then take me to the row that customer is in.
In this case Abdul aSMIn & the cell A258 is selected.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,214,520
Messages
6,120,013
Members
448,935
Latest member
ijat

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top