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
Can print but not scan on Brother MFC-7840W on a Mac / "Connection Error"
How to find the row count in an Oracle DataReader in ASP.NET?
DAG & CAS array configured but it's not failover
A Perl Date module problem
Out of Office Assistant not working w/Forwarding Configured
please help with this xml as2 code
Unable to Save files in my C drive
usb printer stopped working and cannot re-install
How to get past login page strRequestHTML Post
How do I combine 2 List<KeyValuePair<,>>'s into a DataTable using LINQ?