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
how to deal with more then one Document Class !
HP 1320 Pinter smudges
JSON Value Retrieve
Zebra LP 2844 label printer prints the first print job successfully, subsequent print jobs after skip labels and/or print partial data on labels until computer is rebooted.
make a new bridge in cisco catalyst 2950
how to open the PDF in a new browser window using jsf ?
Flash XML content
T-SQL: Count number of tables in the DB (SQL server 2008)
Microsoft Access Database Engine 2010 Redistributable and "OpenRowSet"
Hung Login Processing 'Printers' Group Policy on Win2K8 Std running in ESXi 4.x