asyamonique
Well-known Member
- Joined
- Jan 29, 2008
- Messages
- 1,286
- Office Version
- 2013
- Platform
- Windows
Good Day,
I have a userform with a lot of text boxes.
And its pop up with same code given below.
I did not put other text boxes i've just add one sample...
My question is,
Is it possible to put only a code that all textboxes will display with the format of "###,##" without stating the textboxes one by one.
Simply those textboxes with the numbers will format automaticly.
Also some textboxes has text values on my userform.
Thanks in advance.
I have a userform with a lot of text boxes.
And its pop up with same code given below.
I did not put other text boxes i've just add one sample...
VBA Code:
Private Sub UserForm_Initialize()
Me.TextBox1.Text = Format(Sheets("list").Range("G1").Value, "###,##")
End Sub
My question is,
Is it possible to put only a code that all textboxes will display with the format of "###,##" without stating the textboxes one by one.
Simply those textboxes with the numbers will format automaticly.
Also some textboxes has text values on my userform.
Thanks in advance.