I have a userform with a text box in it. I want the user to enter the month
and date in the format mm/yyyy. In the text box, I want to display mm/yyyy,
but when the user selects the TextBox1, I want it to clear out. What do I
need to do to accomplish this?
Thanks,
Barb Reinhardt
Mark Lincoln - 20 Jan 2006 19:07 GMT
I haven't tested this, but it should work. I'm sure someone will tell
me if I'm wrong. :-)
Private Sub TextBox1_Enter()
TextBox1 = ""
End Sub
Toppers - 20 Jan 2006 19:09 GMT
Barb,
This will clear previous entries
Private Sub TextBox1_Enter()
TextBox1.Value = ""
End Sub
> I have a userform with a text box in it. I want the user to enter the month
> and date in the format mm/yyyy. In the text box, I want to display mm/yyyy,
[quoted text clipped - 3 lines]
> Thanks,
> Barb Reinhardt