Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer) Dim a As String, b b = Text1 a = Format(b, "#,###") Text1 = a Text1.SelStart = Len(a) End Sub
Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer) Dim a As String, b b = Text1 a = Format(b, "#,###") Text1 = a Text1.SelStart = Len(a) End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) Text1.Text=format(text1.text,"#,###" End Sub
text1.text=format(text1.text,"standard")
Private Sub Text1_Change() Text1.Text = Format(Text1.Text, "#,###") End Sub
Dim a As String, b
b = Text1
a = Format(b, "#,###")
Text1 = a
Text1.SelStart = Len(a)
End Sub
Dim a As String, b
b = Text1
a = Format(b, "#,###")
Text1 = a
Text1.SelStart = Len(a)
End Sub
Text1.Text=format(text1.text,"#,###"
End Sub
Text1.Text = Format(Text1.Text, "#,###")
End Sub