elgringo56
Well-known Member
- Joined
- Apr 15, 2002
- Messages
- 869
I have several UserForms with TextBoxes for data entry. I notice that when I type into a text box, the first character that I type causes what appears to be an underline to appear thru the entire box. When I finish the entry and either "tab" or "enter" to go to the next TextBox in the tab ordeer, the underline dissappears. I dont really like the underline, but can live with it except for one condition that seems to happen. One of my TextBoxes is for a date. I want to allow the operator to type in the date in any format they desire, ie, 7/3/04 or 7-aug-o4, but, when the operator tabs or enters out of the TextBox, I want to do a "Me.TextBox11 = Format(TextBox11, "dd/mmm/yy")" which will force the format to what I want. This works, however, the underline remains. Is there a way to prevent the underline from appearing there in the first place? I hope this is clear.