Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Display numbers in a userform txtfield as numbers with a comma

Hello experts,
I am using a form for the user to input wage information and I would like
the numbers to display with the thousands separater and have decimal points.
is there a way to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Display numbers in a userform txtfield as numbers with a comma

When you display the numbers, format them, like so

Format(Textbox1.Text,"#,##0.00")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TimT" wrote in message
...
Hello experts,
I am using a form for the user to input wage information and I would like
the numbers to display with the thousands separater and have decimal

points.
is there a way to do this?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Display numbers in a userform txtfield as numbers with a comma

I guess I would use that format on an OnExit of the field?

"Bob Phillips" wrote:

When you display the numbers, format them, like so

Format(Textbox1.Text,"#,##0.00")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"TimT" wrote in message
...
Hello experts,
I am using a form for the user to input wage information and I would like
the numbers to display with the thousands separater and have decimal

points.
is there a way to do this?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a comma following a series of numbers ffrigo Excel Discussion (Misc queries) 2 June 8th 09 09:11 PM
Comma Delimited Numbers Spannerman Excel Discussion (Misc queries) 3 April 3rd 07 08:19 AM
how to combine numbers with the comma Igneshwara reddy[_2_] Excel Worksheet Functions 7 March 6th 07 05:28 AM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM
Can you round numbers to display a specific set of numbers, for e. lbfries Excel Discussion (Misc queries) 3 April 20th 05 09:52 PM


All times are GMT +1. The time now is 04:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"