DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
TextBox49 = Format(TextBox49, "#,##0.00 TL") işlem öncesinden alıp işlem sonuna taşırsanız çözüme ulaşabilirsiniz.TextBox49 = Format(TextBox49, "#,##0.00 TL") satırları silin.TextBox49_Change() kodlarını da aşağıdaki ile değiştirin.Private Sub TextBox49_Change()
TextBox49 = Val(TextBox3) + Val(TextBox6) + Val(TextBox9) + _
Val(TextBox12) + Val(TextBox15) + Val(TextBox18) + Val(TextBox21) + Val(TextBox24) + Val(TextBox27) + Val(TextBox30) + _
Val(TextBox33) + Val(TextBox36) + Val(TextBox39) + Val(TextBox42) + Val(TextBox45) + Val(TextBox48)
TextBox49 = Format(TextBox49.Text, "Currency")
End Sub
Private Sub Hesapla(txt1 As Control, txt2 As Control, txt3 As Control)
If IsNumeric(txt1.Value) And IsNumeric(txt2.Value) Then
txt3.Value = Format(CDbl(txt1.Value) * CDbl(txt2.Value), "0.00")
GenelToplam
Else
txt3.Value = ""
GenelToplam
End If
End Sub
Sub GenelToplam()
Dim Bak As Integer
Dim Toplam As Double
Toplam = 0
For Bak = 3 To 48 Step 3
If IsNumeric(Me.Controls("TextBox" & Bak).Value) Then
Toplam = Toplam + CDbl(Me.Controls("TextBox" & Bak).Value)
End If
Next
TextBox49.Value = Format(Toplam, "0.00")
End Sub