![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Stockton, California
Posts: 281
|
Hi, me again
another quick question im having trouble finding the answer to. Can i format the values of a userform? I know i can format them when i transfer them to my worksheet, but i would like for example: If someone inputs 5.00 into a textbox on the userform, the form automatically changes it to $5.00. also, does anyone know any helpful websites with some userform information? I'd like to read up more. Maybe then i wouldn't have so many questions Thanks again |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Yes, you can.
For example: Code:
Private Sub TextBox1_BeforeUpdate(ByVal Cancel As MSForms.ReturnBoolean) TextBox1 = Format(TextBox1, "$#,##0.00") End Sub |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
About websites... I don't know... I firmly believe in self help and practice (And of course, asking here !!)
|
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Columbus, OH, USA
Posts: 3,519
|
Self help includes books, I hope. Books are good. I've read a couple.
Learning here is good, but books are better. You'll get better structure using books. This message board is great for getting elusive answers, but books are good. There are books everywhere. I'm sorry, it's Holy Thursday and I am completely exhausted. TFI a long weekend. Also, Juan's been adding onto people's posts all day. It's time for a taste of his own medicine. |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Stockton, California
Posts: 281
|
thanks yet again Juan
|
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Another under rated help source F1 while in
the VBA Editor Ivan |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|