Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
  2. If TextBox1.Text <> "" Then
  3. TextBox1.Text = Format(CDec(TextBox1.Text), "#,#")
  4. TextBox1.SelectionStart = TextBox1.Text.Length
  5. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement