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
Exchange server on 2 different domains
Setting Textbox Focus based on Radio Button (ASP.NET C# Javascript)
Deploy RemoteApp MSI using GPO
Preserving MS Word settings
change Background color of Comobox
Iphone could not be restored. Error 14. Again...
C++ program
Regex to remove width property from HTML TAble tag where width is over 500
Is it possible to automatically copy data from AS/400 to Excel (or Lotus 1-2-3) without external apps?
Excel VBA Bloomberg function