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
Problems with lotus pop3
Large .LDF file
Google Analytics
EMC DPA (Data Protectiopn Advisor) Report
RS232 cable or RS232 bluetooth for Iphone to Cisco Router connections
riddle vb.net calling unmanaged c++ dll
Cannot change display settings
Windows server 2003 terminal users unable to view png images in IE
My option and command keys are switched on my mac
IE8 cannot read Chinese