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 to equal current date in access
Caseware version 3.1. old Dos accounting software
Design Review (Three Designs) for one website.
How do I resolve stop error: *** STOP: 0x0000007B (0xF789EA94, 0XC0000034,0x0000000,0x000
0000)
Cannot remove Test Exchange server from administrative Group.
Game Crashes
How do I get the value of xpages file upload
Find and Replace Hyperlinks in Access 2007
multiple users having outlook and phones checking one IMAP mailbox, is it a problem?
Switch 3Com 4800G doesn't save configuration ?