* Edit1.Valid()returnoccurs(chr(13),this.value)=5* Edit1.ErrorMessageifoccurs(chr(13),this.value) >5waitwindow'You may enter only 6 lines'nowaitelsewaitwindow'You must enter at least 6 lines'nowaitendif
>Hi Ken, > > Continue the theme of editbox, how can I check that users type 5 and only 5 digits in each line? If not, display a warning message and stop. > >TIA >
kenweber GCom2 Solutions Microsoft Certified Professional