Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Barb,
This will clear previous entries Private Sub TextBox1_Enter() TextBox1.Value = "" End Sub "Barb Reinhardt" wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform Question | Excel Discussion (Misc queries) | |||
Userform Question | Excel Programming | |||
userform question | Excel Programming | |||
Userform question | Excel Programming | |||
userform question | Excel Programming |