I would allow the user to enter the date as they normally would (I know people tend to do this differently) and then format the date as I need in the code:
Private Sub txtTextBox_BeforeUpdate(ByVal Cancel As MSForms.ReturnBoolean)
txtTextBox.Value = Format(txtTextBox.Value, "dd/mm/yy"
End Sub
********************
What's the best way to get the answers you need?? See FAQ222-2244 for details!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.