Private Sub ListBox1_Click()
VarSelectedArticle = UserForm1.ListBox1.ListIndex + 2
LabelStock = Sheets("TarifProduits").Range("D" & VarSelectedArticle).Value '''
On Error Resume Next
If LabelStock = 0 Then
LabelCode = "Article non Dispo"
LabelPrixUnit.Visible = False
TextBoxQuantite.Visible = False
LabelPrixTotal.Visible = False
Label32.Visible = False
Label33.Visible = False
Label37.Visible = False
CommandButton4.Visible = True
Else
CommandButton4.Visible = False
LabelPrixUnit.Visible = True
Label32.Visible = True
Label33.Visible = True
Label37.Visible = True
TextBoxQuantite.Visible = True
LabelPrixTotal.Visible = True
On Error Resume Next
LabelCode = Sheets("TarifProduits").Range("A" & VarSelectedArticle).Value ''''
On Error Resume Next
LabelPrixUnit = Format(Sheets("TarifProduits").Range("C" & VarSelectedArticle).Value, "#,##0.00 €")
On Error Resume Next
Label32 = Format(Sheets("TarifProduits").Range("E" & VarSelectedArticle).Value, "#,##0.00") 'Taux TVA
LabelPrixTotal = ""
TextBoxQuantite = ""
'Label32 = "" 'Taux TVA
'Label33 = ""
TextBoxQuantite.SetFocus
End If
End Sub