Listbox
Fermé
amine69500
Messages postés
422
Date d'inscription
lundi 8 juin 2009
Statut
Membre
Dernière intervention
25 août 2013
-
9 juin 2009 à 10:35
amine69500 Messages postés 422 Date d'inscription lundi 8 juin 2009 Statut Membre Dernière intervention 25 août 2013 - 9 juin 2009 à 13:40
amine69500 Messages postés 422 Date d'inscription lundi 8 juin 2009 Statut Membre Dernière intervention 25 août 2013 - 9 juin 2009 à 13:40
3 réponses
DarkAurora
Messages postés
417
Date d'inscription
lundi 26 novembre 2007
Statut
Membre
Dernière intervention
21 janvier 2013
27
9 juin 2009 à 10:55
9 juin 2009 à 10:55
je ne connais pas vraiment mais essaye peut être cellule.value = true
amine69500
Messages postés
422
Date d'inscription
lundi 8 juin 2009
Statut
Membre
Dernière intervention
25 août 2013
12
9 juin 2009 à 11:16
9 juin 2009 à 11:16
bonjour
merci mais ca ne marche pas.
merci mais ca ne marche pas.
amine69500
Messages postés
422
Date d'inscription
lundi 8 juin 2009
Statut
Membre
Dernière intervention
25 août 2013
12
9 juin 2009 à 13:40
9 juin 2009 à 13:40
bonjour
comment je peu controler la colonne a droite de ma colonne listbox1
merci de votre aide
Private Sub AddButton_Click()
Dim i As Integer
If ListBox1.ListIndex = -1 Then Exit Sub
For i = 0 To ListBox3.ListCount - 1
If ListBox1.Value = ListBox3.List(i) Then
Beep
Exit Sub
End If
Next i
ListBox2.AddItem ListBox1.Text
i = _
Application.WorksheetFunction.CountA(Range("A:A")) - 464
If ListBox2 = ListBox1.Text Then
Cells(i, 3) = True
End If
ListBox3.AddItem ListBox1.Value
If ListBox3 = ListBox1.Value Then
Cells(i, 3) = True
End If
End Sub
bonne journer
comment je peu controler la colonne a droite de ma colonne listbox1
merci de votre aide
Private Sub AddButton_Click()
Dim i As Integer
If ListBox1.ListIndex = -1 Then Exit Sub
For i = 0 To ListBox3.ListCount - 1
If ListBox1.Value = ListBox3.List(i) Then
Beep
Exit Sub
End If
Next i
ListBox2.AddItem ListBox1.Text
i = _
Application.WorksheetFunction.CountA(Range("A:A")) - 464
If ListBox2 = ListBox1.Text Then
Cells(i, 3) = True
End If
ListBox3.AddItem ListBox1.Value
If ListBox3 = ListBox1.Value Then
Cells(i, 3) = True
End If
End Sub
bonne journer