Kod:
Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
TextBox2.Value = Val(TextBox1.Value) + Val(TextBox2.Value)
If KeyAscii = 13 Then TextBox1.SetFocus
End Sub
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub TextBox1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
TextBox2.Value = Val(TextBox1.Value) + Val(TextBox2.Value)
If KeyAscii = 13 Then TextBox1.SetFocus
End Sub
Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
If KeyCode = 13 Then
TextBox2.TabStop = False
TextBox2.Value = Val(TextBox1.Value) + Val(TextBox2.Value)
TextBox1.SetFocus
TextBox1.Value = ""
End If
End Sub