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
Group By Sql Query
Disk Manager doesn't see the ISCSI Virtual Disks but One
Drupal Frontpage - Views through PHP
SharePoint Recovery when all you have are the SQL files from disk ?
P2V Fails using VMware COnverter standalone client
Exporting X509 published certificate information
Physical disk options when using a Dell S100 RAID controller
Mapping drives over a site to site VPN
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
Fake Antivirus program prevents any application from being launched