Code for Search Button in Userform

ashishpatel34

New Member
Joined
Apr 18, 2019
Messages
2
I have an excel of total 27 columns, I want to display the data of that excel in a user form. Now I want to add a search button in the form which works in such a way that when I enter any number in H Column (already mentioned in the excel table of the H Column) and press the search button it displays the data of all the cells in the particular row of that number including that number. For Eg If I enter a number which is mentioned in the cell H8 cell of the excel sheet and press the search button then I should get the data from A8 to AA8 in respective text boxes.

If anyone can help me I would be highly obliged.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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