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
Optimize Query on Table with million records
want largest orderid number
2GB of RAM laptop only recognizing 1GB
Microsoft.Exchange.Search.
ExSearch.e
xe 80% resources
Web Services or WCF
How do I restore my Exchange 2003 Virtual Directory Settings back to Default
time tracking with microsoft project
Slow copy from VMware Esxi 3.5i onto Ext USB Drive
Access / how many users connected?
ATM clocking