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 can i add column name in list generic?
Outlook Calnendar Issue
iPhone 4.0 ActiveSync
Lable (and other elements) not appearing in my code behind
How can I prevent changes to web browser proxy settings?
Quickr..How do I edit the tabs on the home page of my place? I want to add a tab
Amber Error PowerEdge 2650 e0d76
Inserting Rows in Excel with VBA
WebSphere Data store helper class
How do i factory reset netvanta 1524st switch from the cli command line?