How do I enter numbers in Textbox1 (4.33mi), and Textbox 2 shows the calculated result in (km) ? I borrowed the key down from somewhere else, is this a proper use for it?
Code:
Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)
TextBox2.Value = CONCATENATE(Round(Left(TextBox1.Value, 4) * 1.609, 2), "km")
End Sub