Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I created a userform to accept information from the user.
My problem is ,eg i would like the TxtAmount.value to display the amount in Currency when i enter the number. The same for the percentage control. I am new to this. |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Bert,
Text boxes accept text only, so you need to convert the value to the formatted text that you want. Something like: UserForm1.TextBox1.Text = Format(Range("A1").Value, "$#,##0.00") Same idea for percentages" UserForm1.TextBox1.Text = Format(Range("A1").Value, "0.00%") HTH, Bernie MS Excel MVP "Bert" wrote in message ... I created a userform to accept information from the user. My problem is ,eg i would like the TxtAmount.value to display the amount in Currency when i enter the number. The same for the percentage control. I am new to this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need A date Mask format for a Textbox on UserForm | Excel Discussion (Misc queries) | |||
Userform textbox number formats | Excel Discussion (Misc queries) | |||
Userform with 5 textbox and 1 needs to refresh to have total | Excel Discussion (Misc queries) | |||
UserForm TextBox/ComboBox question | Excel Discussion (Misc queries) | |||
userform textbox | Excel Worksheet Functions |