Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Dim C1, C2, C3, C4, C5, P1, P2, P3, P4, P5, T1, T2, T3, T4, T5, Totalap, IVA,
Subt, Descu As Double
C1 = TextBox1.Text
C2 = TextBox2.Text
C3 = TextBox3.Text
C4 = TextBox4.Text
C5 = TextBox5.Text
P1 = TextBox11.Text
P2 = TextBox12.Text
P3 = TextBox13.Text
P4 = TextBox14.Text
P5 = TextBox15.Text
T1 = C1 * P1
T2 = C2 * P2
T3 = C3 * P3
T4 = C4 * P4
T5 = C5 * P5
TextBox16.Text = T1
TextBox17.Text = T2
TextBox18.Text = T3
TextBox19.Text = T4
TextBox20.Text = T5
Subt = (T1 + T2 + T3 + T4 + T5)
If CheckBox1.Checked = True Then
IVA = (16 * Subt) / 100
Else
IVA = 0
End If
Totalap = (Subt + IVA)
If Totalap > 10000 Then
Descu = (10 * Totalap) / 100
Totalap = (Totalap - Descu)
End If
TextBox21.Text = Subt
TextBox22.Text = IVA
TextBox23.Text = Totalap
TextBox24.Text = Descu
*BORRAR*
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""
TextBox10.Text = ""
TextBox11.Text = ""
TextBox12.Text = ""
TextBox13.Text = ""
TextBox14.Text = ""
TextBox15.Text = ""
TextBox16.Text = ""
TextBox17.Text = ""
TextBox18.Text = ""
TextBox19.Text = ""
TextBox20.Text = ""
TextBox21.Text = ""
TextBox22.Text = ""
TextBox23.Text = ""
TextBox24.Text = ""
*SALIR*
End