1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| Dim t
Dim tva7 As Double
' a partir d'ici______________________________
Dim tva196 As Double
If cbotva.Value = 7 Then
OptionButton1.Visible = True
If TextBox17.Value = "" Then
TextBox17.Value = TextBox8.Value * Txt_qté_vente.Value * 0.07
Else
TextBox17.Value = CDbl(TextBox17.Value) + TextBox8.Value * Txt_qté_vente.Value * 0.07
End If
Else
If TextBox18.Value = "" Then
TextBox18.Value = TextBox8.Value * Txt_qté_vente.Value * 0.196
Else
TextBox18.Value = CDbl(TextBox18.Value) + TextBox8.Value * Txt_qté_vente.Value * 0.196
End If
End If
If TextBox17.Value = "" Then
tva7 = 0
Else
tva7 = CDbl(TextBox17.Value)
End If
If TextBox17.Value = "" Then
tva196 = 0
Else
tva196 = CDbl(TextBox18.Value)
End If
TextBox13.Value = tva7 + tva196
' juque là__________________________________________
With UserForm1.ListView1 |