Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel UserForm Textbox - currency format

Status
Not open for further replies.

vbviktor

Technical User
May 15, 2001
1
CA
I can't figure out how to format a Textbox in a Userform to show a value (received from a currency variable) with 2 digit decimal format with a dollar sign. Can someone illuminate me.... thanks
 
This line will change the format of the text.

TextBox1.Text = Format(TextBox1.Text, "$##,###,###.##")

you just need to put it in the right event so that it changes the format at the right time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top