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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Excel sort of already has a feature like this called DataForm

Code:
Sub Macro1()
    Cells.Find(What:="Received Date").Select
    ActiveSheet.ShowDataForm
End Sub
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,877
Members
449,056
Latest member
ruhulaminappu

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