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
Your message was read on Monday, Month Day Year
Domain admins for local machines
blackberry: PIM Synchronization is not enabled on this device
Can't open to a specified PDF page in IE 8
VB.Net 2010: ResourceManager.GetObject fails with silent exception on x64
visual studio 2010 not automatically rebuild
How to update & append at the same time from another table a table in SQL Server
chess game without a database
Excel VBA to refresh all Pivot Tables
Looking for software to mirror two external hard drives.