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
Delete temporary internet files?
return multiple resultsets with TsqlQuery
SAS 9.1 - Excel Import
Adobe InDesign CS4 Application Error
AD Scripts and Windows 7
How do I unlock an Imation flash drive
Creating an AD Query
I have an Exchange 2003 on a SBS2003 and I need it to handle 2 or more email domains
Can't connect to local MySQL server through socket
Xquery assign datetime variable