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
user access list - who maintains them
BES 5.0.1 and Exchange 2010
Read a Paradox database with a tool
Cannot renew IP address on WinXP
set virtual host on Apache2.2 and PHP 5.3
How to Use Abandoned Local Profile From Different Domain
Remote Desktop Connection to Windows SBS 2008
Find GoldMine contacts with a deleted process attached
Set Java Class toString name?
Sort columns in pivot table.