Userform- Formating numbers in Textboxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I am trying to find a way to format the numbers in a textbox which derives
the data from a excel sheet. Nothing too fancy but I can't figure it
out...any help?

Thanks,
Ozgur
 
Textbox1.Text = Format(Range("A1").Value,"$#,##0.00")

for example.

If the range is already formatted you could use

Textbox1.Text = Range("A1").Text

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Bob , Norman,
thanks alot for your help.

Ozgur

Bob Phillips said:
Textbox1.Text = Format(Range("A1").Value,"$#,##0.00")

for example.

If the range is already formatted you could use

Textbox1.Text = Range("A1").Text

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top