Retrieves a value indicating whether the edit contains a valid value.
Type
Description
Boolean
A boolean expression that indicates whether the control's mask contains a valid
or invalid value.
Use the Valid property to check whether the user has
completed entering the value into the masked edit. The following sample shows
how to use Valid property:
Private Sub MaskEdit1_Change()
Debug.Print IIf(Not MaskEdit1.Valid, "...uncompleted", MaskEdit1.MaskValue())
End Sub