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
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
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
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