I'm glad to see that you guys think this is worth it.
Current version includes the following improvements:
A. Default date selection displayed in a new label.
B. Inclusion of a 'Find Today' button to help with long range calendar navigation.
C. Now operates in three modes:
[vba]DatePick(defaultDate as Date, mode as Integer, eventList as Variant)[/vba]
mode = 0
operates same as code above.
mode = 1
similar to mode 0, but picking a date just changes the date selection label. The Cancel button is now an OK button and is used to confirm the selection.
mode = 2 (under development, may or may not make it to KB)
indexes the day-of-the-month textboxes to event data stored in an array. Total # of events for given day is listed under each textbox. Selecting a day lists that day's events to a listbox. One or more events may be selected and sent back to the calling code.
The reason for mode 2 is that my spreadsheet maintains meta data concerning other files, part of which is a date stamp. I want to be able to choose files based on the calendar rather than the directory hierarchy.
If anyone has any desired features, I'll be glad to consider them (but obviously I won't promise them.
)