Microsoft
Software
Hardware
Network
Question : Excel - VBA text formatting
I'm trying to format the text of a TextBox into SSN format ###-##-####. My code looks like this .Text = Format(.Text, "###-##-####").
It works everytime until the leading character is a zero. If I enter 012345678 it will drop the leading zero. How do I prevent this?
Answer : Excel - VBA text formatting
Use this format string:
"000-00-0000"
When you use #, it gets dropped if it's not "needed".
Random Solutions
HP Proliant DL360
fruit vitamin content same in ca and fl?
ZyXel GS-1548 switch
How could i distribute internet to users connected to windows server 2008 R2 ????
Power Point files won't open from samba share
Retrieve value of calculated control on a subform
windows installer problem
POPCON for exchange downloads hang with Trend Micro Worry free advanced mail scanner
SQL
How to connect treeview & listview or grid through Access database