Excel Search userform

netizen1

New Member
Joined
Mar 10, 2009
Messages
5
I hope this is a simple question since that will make it easy for me to understand. I have a worksheet that an person enters data into for each part number he works on. I would like to create a userform to search for the most recent date for the last time that part number was worked on. The results would show him the previous parameters for that part number.

So I guess I am asking for a double search first search for a part number coulumn D, then the most recent date for that part number in column A and return the data from that row which consists of ten coulums. I would like the data to be returned in a message box.

Thank you in advance for the help.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You could do this with a formula in the worksheet if that's of any interest to you? Can you post a screenshot of some example data (we'll need to see this whether you go for the formula approach or for the userform approach)?
 
Upvote 0
I think I could figure out how to do this with just using the find but I would really like to do it with a userform. I have a little experience with userform as I am trying to teach myself by copying snipets of code from various websites. Here is a sample of the worksheet I am working with as requested.

laminationlog.jpg
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,525
Members
448,969
Latest member
mirek8991

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