Home General VB/VBA Validate Email Address
20 | 05 | 2012
This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade

Validate Email Address PDF Print E-mail
User Rating: / 0
PoorBest 
Tutorials
Written by Administrator   

[code]

'This function checks if a email address is entered correctly.
'It returns a false statement if the address is not correct

 
Function CheckEmailAdres(ByVal email As StringAs Boolean
CheckEmailAdres = True
 
   If InStr(email, "@") = 0 Or _
    InStr(email, ".") = 0 Or _
    Len(email) < 7 Then
    CheckEmailAdres = False
   End If
 
End Function

[/code]

Attachments:
FileDescriptionFile sizeDownloads
Download this file (ValidateEmail.dvb)ValidateEmail.dvb 16 Kb98
 

Add comment


Security code
Refresh

This site has been updated and renewed. You have followed an old link.

Click here to go to the new site

http://www.visiblevisual.com/jupgrade