Private Sub AjouterArticle_Click()
If TextBox1 = "" Or TextBox2 = "" Or TextBox3 = "" Or TextBox4 = "" Then
MsgBox ("Merci de Remplir toutes les informations")
Else
If Sheets("Facture").Range("C26") = "" Then
Sheets("Facture").Range("C26") = TextBox1
Else
Sheets("Facture").Range("C27") = TextBox1
End If
dlt = Sheets("Facture").Range("c34").End(xlUp).Row
Sheets("Facture").Range("c" & dlt) = TextBox1
Sheets("Facture").Range("d" & dlt) = TextBox2
Sheets("Facture").Range("f" & dlt) = TextBox3
Sheets("Facture").Range("l" & dlt) = TextBox4
End If
Unload Me
UserFormProduits.Show
End Sub