Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If IsDate(TextBox1.Text) = False Then
MsgBox "Enter a valid Date in format MM/DD/YYYY" Exit Sub End If -- If this post helps click Yes --------------- Jacob Skaria "Jacob Skaria" wrote: Use ISDATE() which return True if valid date If this post helps click Yes --------------- Jacob Skaria "Ueli Werner" wrote: Hi newsgroup In my excel form I have a textbox where a date value can be entered. When I enter a wrong value excel crashes. Now I like to validate this entry with some kind of entry mask. I like to verify that the entered value cannot be someting other than a date? Is there a possibility to do this in excel? Thanks alot Ueli Werner |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validating a unique reference in a textbox | Excel Programming | |||
Validating number of characters in textbox | Excel Programming | |||
validating input of textbox before publishing | Excel Programming | |||
validating input in textbox | Excel Programming | |||
Validating Entry into Textbox | Excel Programming |