• DİKKAT

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

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
 
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
 
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
 
Geri
Üst