Search multi criteria in worksheet from Userform and display multi results in Userform

Pritch558

New Member
Joined
Jan 30, 2015
Messages
18
First of, Hi All! Newbie here, both to the Forum, and to VBA (1 week so far!)

I've searched high and low for some code for what I want my userform to do, and I find bits and bobs of different ones and none seem to go the whole hog of what I want mine to do (maybe it's not possible).

Anyway...
In brief, I have a userform that controls a workbook entirly, the user never sees the workbook. From the userform, the user can add new entries to the worksheet (named Data), but I also want the user to be able to retrieve data, again, without the user ever seeing the workbook.

The data being added consists of several headed columns (Date, Start Time, Finish Time, Location, ..and so on).

I would like the user to be able to search for all entries within a date range, i.e, for all of Jan this year, the range would be 01/01/2015 to 31/01/2015 (I'm UK so using UK date format),
and subsequently the userform (or a different userform) to display all of the results.
I would also like the user to be able to search using a 'keyword' which could match any entry in any column (well, to be exact, text entries such as location, or a name) and again, be able to display all of the matched results in the/a userform.

Last time I attempted to teach myself any sort of code was over a decade ago in the form of HTML! So please bear with me :stickouttounge:

Any further info you require please let me know, and i'll do my best to decipher and give you what you need.

Thanks in advance.
Pritch
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Forgot to mention...
the rows would be never ending (so new entries can be added without changing the search code), so in search ranging, it would need to search every row with a data entry.
Think I'm trying to be a little too advanced for a newbie 'to the code', so sorry.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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