Sub txtTiempo_TextChanged (Old As String, New As String)
Dim Tiempo As Double
If txtTiempo.Text <> "" And IsNumber(txtTiempo.Text) Then
Tiempo = txtTiempo.Text
Distancia.Text= Round2((Tiempo.Text*1000)/344, 2)
Else
Distancia.text = ""
End If
End Sub
Sub txtDistancia_TextChanged (Old As String, New As String)
Dim Distancia As Double
If txtDistancia.Text <> "" And IsNumber(txtDistancia.Text) Then
Distancia=txtDistancia.Text
txtTiempo.Text= Round2((Distancia.Text*1000)/344, 2)
Else
txtTiempo.text = ""
End If
End Sub