thecowboy47
Programmer
Does anyone have a code snippet that checks an email address entered as a string for proper format "@" and "." as two examples?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
If InStr(1, strEmail, "@") = 0 Then
MsgBox "Incorrect Email Address"
Else If InStr(1, strEmail, " ") <> 0 Then
MsgBox "Incorrect Email Address"
End If