Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Dollars in a text box
I have a text box, and I want the user to enter a dollar
value. How do I force the entry to a currency, and how do I display it as $123.45 ?? Thanks in advance... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Dollars in a text box
Hi,
Try formating the column for $ and Choose 2 decimals. Sazi -- Message posted from http://www.ExcelForum.com |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Dollars in a text box
But this is a text box in a VBA form - not a cell on the
worksheet. Formatting the column doesn't work on a form (unless I'm missing something in your reply...) Thanks - Jeff -----Original Message----- Hi, Try formating the column for $ and Choose 2 decimals. Saziz --- Message posted from http://www.ExcelForum.com/ . |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Dollars in a text box
Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
if isnumeric(Textbox1.Value) then Textbox1.Value = Format(Textbox1.Value,"$ #,##0.00") End if End Sub -- Regards, Tom Ogilvy "Jeff" wrote in message ... But this is a text box in a VBA form - not a cell on the worksheet. Formatting the column doesn't work on a form (unless I'm missing something in your reply...) Thanks - Jeff -----Original Message----- Hi, Try formating the column for $ and Choose 2 decimals. Saziz --- Message posted from http://www.ExcelForum.com/ . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Live Currency Conversion US Dollars to Australian Dollars | Excel Discussion (Misc queries) | |||
How do I combine dollars and text | Excel Discussion (Misc queries) | |||
convert $10.20 to text ...Ten Dollars &20/100 | Excel Discussion (Misc queries) | |||
Convert $12.00 to text (Twelve dollars) like you would on a chec.. | Excel Worksheet Functions | |||
converting #dollars into word dollars? | Excel Worksheet Functions |