merhaba arkadaşlar, eğer frmulü kullanarak hesaplatma yaptırıyorum. Ancak ben bunu kodla yapmak istiyorum. kodla yazdığım bir çalışma var onu buraya ekliyorum ancak eksik birşeyler var sanırım yanlış hesaplama yapıyor
If TextBox53.Text = "" Then
MsgBox "Lütfen Önce T.C.M.B Kurlarını Alınız.....", , "Selçuk Derki.."
Exit Sub
End If
If TextBox55.Text = "Euro" Then
TextBox68.Text = TextBox14.Text
End If
If TextBox56.Text = "Usd" Then
TextBox69.Value = Val(TextBox15.Text) / Val(TextBox53.Text)
End If
If TextBox57.Text = "Usd" Then
TextBox70.Value = Val(TextBox16.Text) / Val(TextBox53.Text)
End If
If TextBox58.Text = "Usd" Then
TextBox71.Value = Val(TextBox17.Text) / Val(TextBox53.Text)
End If
If TextBox59.Text = "Usd" Then
TextBox72.Value = Val(TextBox18.Text) / Val(TextBox53.Text)
End If
If TextBox60.Text = "Usd" Then
TextBox73.Value = Val(TextBox19.Text) / Val(TextBox53.Text)
End If
If TextBox61.Text = "Usd" Then
TextBox74.Value = Val(TextBox20.Text) / Val(TextBox53.Text)
End If
If TextBox62.Text = "Usd" Then
TextBox75.Value = Val(TextBox21.Text) / Val(TextBox53.Text)
End If
If TextBox63.Text = "Usd" Then
TextBox76.Value = Val(TextBox22.Text) / Val(TextBox53.Text)
End If
If TextBox64.Text = "Usd" Then
TextBox77.Value = Val(TextBox23.Text) / Val(TextBox53.Text)
End If
If TextBox65.Text = "Usd" Then
TextBox78.Value = Val(TextBox24.Text) / Val(TextBox53.Text)
End If
If TextBox66.Text = "Usd" Then
TextBox79.Value = Val(TextBox25.Text) / Val(TextBox53.Text)
End If
If TextBox67.Text = "Usd" Then
TextBox80.Value = Val(TextBox26.Text) / Val(TextBox53.Text)
End If
If TextBox55.Text = "Usd" Then
TextBox68.Value = Val(TextBox14.Text) / Val(TextBox53.Text)
End If
If TextBox56.Text = "Euro" Then
TextBox69.Text = TextBox15.Text
End If
If TextBox57.Text = "Euro" Then
TextBox70.Text = TextBox16.Text
End If
If TextBox58.Text = "Euro" Then
TextBox71.Text = TextBox17.Text
End If
If TextBox59.Text = "Euro" Then
TextBox72.Text = TextBox18.Text
End If
If TextBox60.Text = "Euro" Then
TextBox73.Text = TextBox19.Text
End If
If TextBox61.Text = "Euro" Then
TextBox74.Text = TextBox20.Text
End If
If TextBox62.Text = "Euro" Then
TextBox75.Text = TextBox21.Text
End If
If TextBox63.Text = "Euro" Then
TextBox76.Text = TextBox22.Text
End If
If TextBox64.Text = "Euro" Then
TextBox77.Text = TextBox23.Text
End If
If TextBox65.Text = "Euro" Then
TextBox78.Text = TextBox24.Text
End If
If TextBox66.Text = "Euro" Then
TextBox79.Text = TextBox25.Text
End If
If TextBox67.Text = "Euro" Then
TextBox80.Text = TextBox26.Text
End If
TextBox81.Value = Val(TextBox68.Text) * Val(TextBox1.Text) / 1000
TextBox82.Value = Val(TextBox69.Text) * Val(TextBox2.Text) / 1000
TextBox83.Value = Val(TextBox70.Text) * Val(TextBox3.Text) / 1000
TextBox84.Value = Val(TextBox71.Text) * Val(TextBox4.Text) / 1000
TextBox85.Value = Val(TextBox72.Text) * Val(TextBox5.Text) / 1000
TextBox86.Value = Val(TextBox73.Text) * Val(TextBox6.Text) / 1000
TextBox87.Value = Val(TextBox74.Text) * Val(TextBox7.Text) / 1000
TextBox88.Value = Val(TextBox75.Text) * Val(TextBox8.Text) / 1000
TextBox89.Value = Val(TextBox76.Text) * Val(TextBox9.Text) / 1000
TextBox90.Value = Val(TextBox77.Text) * Val(TextBox10.Text) / 1000
TextBox91.Value = Val(TextBox78.Text) * Val(TextBox11.Text) / 1000
TextBox92.Value = Val(TextBox79.Text) * Val(TextBox12.Text) / 1000
TextBox93.Value = Val(TextBox80.Text) * Val(TextBox13.Text) / 1000
TextBox94.Text = Val(TextBox81.Text) + Val(TextBox82.Text) + Val(TextBox83.Text) + Val(TextBox84.Text) + Val(TextBox85.Text) + Val(TextBox86.Text) + Val(TextBox87.Text) + Val(TextBox88.Text) + Val(TextBox89.Text) + Val(TextBox90.Text) + Val(TextBox91.Text) + Val(TextBox92.Text) + Val(TextBox93.Text)
End Sub
