Hello everybody.
I have this userform with two textboxes.
I've added this code so that the user nows what to enter:
If TextBox1.Value = Empty Then TextBox1 = "dd-mm-yyyy"
Also I've added this code Cancelbtn.SetFocus so that the textbox is not selected when you load the form.
My first question is when you select that textbox, regardless where the mouse clicks, the text disappears and you can enter your text.
Also when you're entering the date after you've entered de dd the "-" comes up automatically and the after the mm it does the same thing.
Many thanks,
Pedro
Bookmarks