• DİKKAT

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

Textbox da çarpma işlemi

Katılım
29 Kasım 2011
Mesajlar
235
Excel Vers. ve Dili
Excel 2016 English
Textbox2 ile textbox 3 ü çarparak sonucu textbox4 e para birimi ile birlikte yazmasını sağlayabilirmiyiz.
 

Ekli dosyalar

Deneyiniz...
Kod:
Private Sub TextBox3_Exit(ByVal Cancel As MSForms.ReturnBoolean)
    If Not IsNumeric(VBA.Left(TextBox2.Value, 1)) Then
        Emre = Right(TextBox2.Value, 5)
        TextBox4.Value = VBA.Left(TextBox2.Value, 1) & TextBox3.Value * Emre
            Else
        TextBox4.Value = TextBox3.Value * TextBox2.Value
        TextBox4.Value = Format(TextBox4.Value, "0,##.#0") & " " & Right(TextBox2.Value, 2)
    End If
End Sub
 
Teşekkürler Murat Bey
 
Geri
Üst