Hello everyone,
I'm having a difficulty in the following condition:
'------------------------ Check only one field is filled ----------------- ---
If NumAudit = "" And DriverName = "" Or NumAudit <> "" And DriverName <> "" Then
MsgBox ( "Please do not fill a single field!")
'- Empty Fields ------
NumAudit.Clear
NomPilote.Clear
Else
MsgBox ( "Ok")
End If
I want to spend the next instruction only if one of the 2 field is filled.
Thank you for your help



Reply With Quote
Copyright Techfuels
Bookmarks