Private Sub Calculer_Click()
If PU.Value <> "" And QTE.Value <> "" Then TTC.Value = PU.Value * QTE.Value
If PU1.Value <> "" And QTE1.Value <> "" Then TTC1.Value = PU1.Value * QTE1.Value
'TTC2.Value = Val(PU2.Value) * Val(QTE2.Value)
'TTC3.Value = Val(PU3.Value) * Val(QTE3.Value)
'TTC4.Value = Val(PU4.Value) * Val(QTE4.Value)
TextQTE.Value = Val(QTE.Value) + Val(QTE1.Value) ' + Val(QTE2.Value) + Val(QTE3.Value) + Val(QTE4.Value)
TextTTC.Value = Val(TTC.Value) + Val(TTC1.Value) '+ Val(TTC2.Value) + Val(TTC3.Value) + Val(TTC4.Value)
Remise.Value = Val(TextTTC.Value) * Val(Taux_Remise.Value)
TextTTCNet.Value = Val(TextTTC.Value) - Val(Remise.Value)
TextHT.Value = Round((TextTTCNet.Value) / 1.18, 2)
TextTVA.Value = TextTTCNet.Value - TextHT.Value
TTC.Visible = True
TTC1.Visible = True
'TTC2.Visible = True
'TTC3.Visible = True
'TTC4.Visible = True
TextQTE.Visible = True
TextTTC.Visible = True
Remise.Visible = True
TextTTCNet.Visible = True
TextHT.Visible = True
TextTVA.Visible = True
Label12.Visible = True
Label10.Visible = True
Label14.Visible = True
Label15.Visible = True
Label9.Visible = True
Label13.Visible = True
End Sub