Search Function in a User Form

jason_kelly

Board Regular
Joined
Jul 8, 2010
Messages
50
Hello,

I would like seek your help in creating a user form search function.

in the database are 3 fields

Received Date | File Number | Assigned To


For example, let's say if I wanted to search the received date, the search results would then populate my form with the values for that row.

I would also like the same search functionality for the other 2 fields (File Number and Assigned To) as well, so if I searched by file number/Assigned to, it would populate my form with the Received date, File number and Assigned to values.

You're help with this is greatly appreciated.

Much thanks and appreciation.

Cheers,

Jason
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,450
Excel sort of already has a feature like this called DataForm

Code:
Sub Macro1()
    Cells.Find(What:="Received Date").Select
    ActiveSheet.ShowDataForm
End Sub
 

jason_kelly

Board Regular
Joined
Jul 8, 2010
Messages
50
Hello,

Thanks for the advice,

However, I am more looking to customize my search feature rather than use excel's default standard.

Any help with getting this code started is greatly appreciated.

Thanks a bunch.

Jason
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,925
Messages
5,834,392
Members
430,282
Latest member
MeredithD26

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
Top