Sub yourTextBox_TextChanged (Old As String, New As String)
If Old=New Then
Return
Else
Dim tempString As String
tempString=New.Replace (".","")
Dim tempval As Double
tempval=tempString/100
yourTextBox.Text=tempval
yourTextBox.SelectionStart =yourTextBox.Text.Length
End If
End Sub