Search function to find customer

ApolloCarrierServ

New Member
Joined
May 3, 2019
Messages
23
I am just learning how to create VBA's and need some help please!

I have a worksheet that I am using to manage customer information. In rows "E" trough "T" are the fields for customer information such as customer name, address, phone,etc. I have over 1500 rows of information to keep track of. I am wanting to create a button that is a search function to quickly find a customer or customers based on a keyword search. For example if I type in the customers address will take me to that row on the worksheet. Or if I search a customers name it will show me all customers with that name.

Thank you!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I am using filters currently to sort the customers info. But lets say that I want to add a customer to my sheet, before I do I want to search first to make sure they don't already exist. So I want to type in the name and search for that customer. Or maybe all I have is the address, I want to search the address to find the customer.
 
Upvote 0
That's exactly what you can do with advanced filters.
 
Upvote 0
Yes it does, but they can be on another sheet, or the sheet you want to filter.
 
Upvote 0
I am trying to keep to keep everything on 1 sheet. Is there a way to do a user form with a vba that displays the info in a list box, or applies a filter to the sheet?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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