Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating textbox's on a userform
Hi
I have created a userform with several textbox's on. They pull in infomaton form a cell on a spreadsheet and i then can edit them if i wish to do so. How can i format the text box's to show 2 decimal placings and currency. Many thanks in advance Regards Oggy |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating textbox's on a userform
Use something like this:
me.textbox1.value = format(me.textbox1.value, "$###,##0.00") Oggy wrote: Hi I have created a userform with several textbox's on. They pull in infomaton form a cell on a spreadsheet and i then can edit them if i wish to do so. How can i format the text box's to show 2 decimal placings and currency. Many thanks in advance Regards Oggy |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formating textbox's on a userform
Thanks,
this is what i am looking for, but when i enter a number eg 2.72 it rounds up to 3. Do you have any suggestions. Thanks again Oggy Oggy wrote: Hi I have created a userform with several textbox's on. They pull in infomaton form a cell on a spreadsheet and i then can edit them if i wish to do so. How can i format the text box's to show 2 decimal placings and currency. Many thanks in advance Regards Oggy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Tabbing between textbox's | Excel Programming | |||
A Follow up to Userform Formating | Excel Discussion (Misc queries) | |||
Userform Formating | Excel Discussion (Misc queries) | |||
Digits in textbox's | Excel Discussion (Misc queries) | |||
Digits in textbox's | Excel Programming |