DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton1_Click()
Dim Milady As Variant
Dim Meric As Variant
If IsNumeric(TextBox1.Value) Then
Milady = TextBox1.Value Mod 1000
If TextBox1.Value <= 50000 Then
TextBox2.Value = "90" & " TL"
Else
TextBox2.Value = 90 + (((TextBox1.Value - 50000) - Milady) / 1000) * 2 & " TL"
End If
Else
Meric = MsgBox("Lütfen rakamsal bir deger giriniz")
End If
End Sub
Selam Dostum,
Ekteki dosyayı inceler misin?
Kod:Private Sub CommandButton1_Click() Dim Milady As Variant Dim Meric As Variant If IsNumeric(TextBox1.Value) Then Milady = TextBox1.Value Mod 1000 If TextBox1.Value <= 50000 Then TextBox2.Value = "90" & " TL" Else TextBox2.Value = 90 + (((TextBox1.Value - 50000) - Milady) / 1000) * 2 & " TL" End If Else Meric = MsgBox("Lütfen rakamsal bir deger giriniz") End If End Sub