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
"File Helper" reporting - Your system may have upopenable files - Why?
mysql stored proc parameter
OMA and OWA
How would I edit the code for additional levels from: How can I prep text files for import into Excel that are in subheading formats?
Will an AGP Video Card work in a PCI Express Slot?
Excel VBA Select All File Types From a Specified Folder
T-SQL: Count number of tables in the DB (SQL server 2008)
Is there a good solution for monitoring the status of RAID array in HP or IBM server run Windows 2003?
how to open the PDF in a new browser window using jsf ?
laptop display problems