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
OS Logs On and then Immediately Logs Off
windows 2008 r2 with raid 6
Network issue.
Is it possible to exclude certain project folders like Images during Publish?
my phone number would accept
Backup Exec 12
looking for best web designer.
How to Setup Mandatory Profiles Server 2008 R2
Firing jQuery on key press action
CodeDom and Windows Forms