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
check_directory_files
TempDB N # of CPU's
I need to change the color of a DataGridView scrollbar in C# WinForms
jQuery dialog positioning problem
Group Policy - domain controllers
get last 4 digit
Blackberry device stopped synching after mailbox move
Oracle Form 4.5 Update Allowed Problem
Delphi 'LIKE' DateTime filter
keep table at base of page