cs_noe
Messages postés38Date d'inscriptionmardi 28 mai 2002StatutMembreDernière intervention24 décembre 2003 17 oct. 2003 à 15:34
Salut
j'ai mis ce code dans mon application
Dim i, o, Contenu_Nom
'Nom dans la liste
If Trim(Nom <> "") Then
For i = o To Nom.ListCount - 1
If Nom = Nom.List(i) Then
Contenu_Nom = "OK"
End If
Next
If Contenu_Nom = "" And Nom.Text <> "" Then
MsgBox "Pour le nom vous devez choisir un nom dans la liste", vbExclamation + vbOKOnly, "Problème dans la saisie"
Nom.SetFocus
Exit Sub
End If
End If