Textbox with multiple search records

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,134
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I have a textbox3 and all the name records in sheet1. I am not sure as once the user enters a name in the textbox3, then code should search the all the results and should display with multiple records.

eg:-
sheet1 column C have names as
X
Xy
XXy
AA
AB
ADS
CC

if user enters as "X" in textbox3 then all the records related to it should be displayed "X,Xy,XXY" and user can select any one of the record.

Any idea
 
Last edited:
@vmjan02 I think you mean auto-suggest or auto-complete, but I do not believe this is possible (easily) in VBA
Same way if the user enter first 2 words in the me.textbox3 then there it will display by itself and user select the right word. I hope I am clear now.
@My Aswer Is This
I guess
Always trying to learn more and help others where I can
doesn't extend to questions about code styles/practices to learn from each other?

Perhaps if others reading this thread, they could explain benefit of declaring a long variable and passing a string to it, just curious to understand this as haven't seen it before or is commonly used.
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

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