1 réponse
Bonjour
Voyez ce code :
Bon courage
Voyez ce code :
Private Sub CommandButton5_Click() If Me.ComboBox1.ListIndex < Me.ComboBox1.ListCount - 1 Then Me.ComboBox1.ListIndex = Me.ComboBox1.ListIndex + 1 Else MsgBox "Vous êtes au dernier membre enregistré" End If End Sub Private Sub CommandButton6_Click() If Me.ComboBox1.ListIndex < Me.ComboBox1.ListCount + 1 Then If Me.ComboBox1.ListIndex = 0 Then MsgBox "Vous êtes au premier membre enregistré" End If Me.ComboBox1.ListIndex = Me.ComboBox1.ListIndex - 1 End If End Sub
Bon courage