• DİKKAT

    DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
    Altın Üyelik Hakkında Bilgi

Soru Textbox ta yazdığım parasal değeri excel sayfasında hesaplama

Katılım
23 Aralık 2017
Mesajlar
48
Excel Vers. ve Dili
2016
Textbox' a aşağıdaki kodu eklediğimde yazdığım parasal değeri excel sayfasında sağdan say formülü ile iki tarih arasını hesaplatmak istiyorum ancak hesaplama yapmıyor.
hangi formülle uygulamam gerek. bir örnek verirseniz sevinirim. Yardımcı olanlar için şimdiden çok teşekkür ederim.


Private Sub TextBox2_Exit(ByVal Cancel As MSForms.ReturnBoolean)
TextBox2 = Format(TextBox2, "#,###.00 TL")
End Sub
 
Örnek;

Kod:
Private Sub CommandButton1_Click()
    MsgBox (TextBox2 + 100)
End Sub

Private Sub TextBox2_Exit(ByVal Cancel As MSForms.ReturnBoolean)
    TextBox2 = FormatCurrency(TextBox2, "0.00")
End Sub

.
 
Örnek;

Kod:
Private Sub CommandButton1_Click()
    MsgBox (TextBox2 + 100)
End Sub

Private Sub TextBox2_Exit(ByVal Cancel As MSForms.ReturnBoolean)
    TextBox2 = FormatCurrency(TextBox2, "0.00")
End Sub

.
Haluk hocam.
Bu formatta kuruşları yukarı yuvarlıyor.kuruş göstermiyor.
Kod:
Private Sub TextBox2_Change()

End Sub
Private Sub TextBox2_Exit(ByVal Cancel As MSForms.ReturnBoolean)
    TextBox2 = FormatCurrency(TextBox2, "0.00")
End Sub

Private Sub UserForm_Click()
TextBox1.Value = TextBox2.Value + 100
End Sub
 
Geri
Üst