Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionPrivate Sub Text2_Change()
Private Sub Text2_Enter()
Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Text2.Text = Val(Text1.Text) Text3.Text = Val(Text2.Text) + Val(Text3.Text) End If End Sub
dim A , B A=Val(Text1.Text) : B=Val(Text2.Text) text3.Text=A+B
Text3.Text = Val(Text2.Text) + Val(Text3.Text)
Text3.Text = Val(Text2.Text) + Val va etre marquée en jaune verifie la valeur de Val(Text3.Text) tu vas voir que text3.TEXT = "" c'est peut tout simplement [code=vb]Private Sub Text2_Change() Text3.Text = Val(Text2.Text) + Val(Text1.Text) End Sub
Text3.Text = Val(Text2.Text) + Val(Text3.Text)
Text3.Text = Val(Text2.Text) + Val(Text3.Text)