BONJOUR
je fais se code mais il n'affiche rien
cdt
Private Sub ListView4_Click()
Dim maLigne As Long
Dim RefProd As Integer
'Affiche les infos du produit
maLigne = Range("A" & Rows.Count).End(xlUp).Row + 1
While Feuil4.Cells(maLigne, 1) <> ""
If Feuil4.Cells(maLigne, 1) = RefProd Then
TextBox26 = Feuil4.Cells(maLigne, 1)
TextBox27 = Feuil4.Cells(maLigne, 2)
TextBox28 = Feuil4.Cells(maLigne, 3)
TextBox29 = Feuil4.Cells(maLigne, 4)
TextBox30 = Feuil4.Cells(maLigne, 5)
TextBox31 = Feuil4.Cells(maLigne, 6)
TextBox32 = Feuil4.Cells(maLigne, 7)
TextBox33 = Feuil4.Cells(maLigne, 8)
TextBox45 = Feuil4.Cells(maLigne, 9)
TextBox46 = Feuil4.Cells(maLigne, 10)
End If
maLigne = maLigne + 1
Wend
'Affiche si stock égale zéro
If TextBox33 = 0 Then 'TextBox_Qté_sto
TextBox33.Font.Bold = True
TextBox33.BackColor = vbRed
Else
TextBox33.Font.Bold = False
TextBox33.BackColor = &H8000000F
End If
End Sub