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

power468

Altın Üye
Katılım
23 Aralık 2017
Mesajlar
39
Excel Vers. ve Dili
2016
Altın Üyelik Bitiş Tarihi
21-08-2025
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
 

Haluk

Özel Üye
Katılım
7 Temmuz 2004
Mesajlar
12,406
Excel Vers. ve Dili
64 Bit 2010 - İngilizce
+
Google Sheets
+
JScript
Altın Üyelik Bitiş Tarihi
Ö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
.
 

Orion1

Uzman
Uzman
Katılım
1 Mart 2005
Mesajlar
22,254
Excel Vers. ve Dili
Win7 Home Basic TR 64 Bit

Ofis-2010-TR 32 Bit
Ö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
 
Üst