Hi Red
Ah, yes - I have a huge library of code I use for all my projects and sometimes after midnight I forget which is mine and which is built-in to Access :-)
Substitute this instead:
MsgBox "Active control is not a textbox", vbExclamation, "Error getting date"
Thanks for you generous comments! :-)
Good luck!
--
Graham