textbox küsüratlı sonuç bulma

Katılım
27 Mart 2020
Mesajlar
12
Excel Vers. ve Dili
Excel 2013 Türkçe
Selamlar textbox3 içerisinde küsüratlı sonuç hesaplamak istiyorum. Eklemem gereken kod nedir?

Private Sub CommandButton1_Click()

TextBox3.Text = (CDbl(TextBox1) * CDbl(TextBox2))

End Sub
 

Korhan Ayhan

Administrator
Yönetici
Admin
Katılım
15 Mart 2005
Mesajlar
42,739
Excel Vers. ve Dili
Microsoft 365 Tr-En 64 Bit
Deneyiniz.

1-)
C++:
Private Sub CommandButton1_Click()
    TextBox3 = Replace(TextBox1 * TextBox2, ".", ",")
End Sub
2-)
C++:
Private Sub CommandButton1_Click()
    TextBox3 = FormatNumber(TextBox1 * TextBox2, 2)
End Sub
3-)
C++:
Private Sub CommandButton1_Click()
    TextBox3 = FormatCurrency(TextBox1 * TextBox2, 2)
End Sub
 
Katılım
27 Mart 2020
Mesajlar
12
Excel Vers. ve Dili
Excel 2013 Türkçe
Deneyiniz.

1-)
C++:
Private Sub CommandButton1_Click()
    TextBox3 = Replace(TextBox1 * TextBox2, ".", ",")
End Sub
2-)
C++:
Private Sub CommandButton1_Click()
    TextBox3 = FormatNumber(TextBox1 * TextBox2, 2)
End Sub
3-)
C++:
Private Sub CommandButton1_Click()
    TextBox3 = FormatCurrency(TextBox1 * TextBox2, 2)
End Sub
teşekkürler
 
Üst