Is it possible to set a format to a UserForm textbox so that it automatically changes the numbers from 123456789.123456789 to 123,456,789.123456789.
Private Sub TextBox1_Change()
TextBox1.Value = Format(TextBox1.Value, "#,###.##")
End Sub
I used this, but it round the number to 123,456,789.12 .
Is 123,456,789.123456789 possible within the VBA ? Thanks.
Format(TextBox1.Value, "#,##0.000000000")