Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Vinay,
Tou can use the exit event for the textbox: Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean) If Not IsDate(TextBox1.Text) Then MsgBox "DATE ENTERED IS INVALID. PLEASE RE-ENTER", vbExclamation, "Retry" Me.TextBox1.Text = "" Cancel = True End If End Sub Hoop This Helps Wouter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ADDING/DELETING SHEET Without losing focus? | Excel Discussion (Misc queries) | |||
Text Box has the focus | Excel Programming | |||
Text Box Focus | Excel Programming | |||
Deleting Invalid Links | Excel Programming | |||
Text Box Set Focus Issue | Excel Programming |