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
error booting the ubuntu linux live cd
Developing an iPhone application -- requisites
Globally change the Blackberry Service Display name
XP 10 inbound connection limit question
Host or domain name not found - Name service error
Restoring old mail
Backup Software
Exchange 2010 and /exchange error
Usning the wizard control in asp.net
WINDOWS 2003 SP2 MEMBER SERVER TO 2003 R2