Hi.
In vba for excel 2000 I've a userform with some textboxes containing numbers.
I used "Afterupdate" event to format a textbox but, when the userform is loaded again the textbox is not formatted.
So I tried to use "Initialize" event with the foll. code
UserForm1.TextBox1.Value = Format (UserForm1.TextBox1.Value, "##,##0"
but it doesn't work.
Where am I wrong?
Thank you in advance for your answers.
Regards.
Nick.
In vba for excel 2000 I've a userform with some textboxes containing numbers.
I used "Afterupdate" event to format a textbox but, when the userform is loaded again the textbox is not formatted.
So I tried to use "Initialize" event with the foll. code
UserForm1.TextBox1.Value = Format (UserForm1.TextBox1.Value, "##,##0"
but it doesn't work.
Where am I wrong?
Thank you in advance for your answers.
Regards.
Nick.