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
Missing security tab on network shares from NetApp FAS 2020
Xenserver multipath issue with pool
B Tree
PHP SESSION id IN QUERY STRING
asp.net + modal popup
What's the meaning of "meta:resourcekey="some_va
lue""?
EtherChannel on Cisco 2960 switch intermittent dropped packet
Restoring MSSQL 2000 databases to MSSQL 2005
How can I create a signature capture in iPhone SDK?
Sync Center and Moving Redirected Folder in SBS2008