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
open Firmware
what is best editor for oracle?
make a gigabit rj45 loopback plug
Design issue, storing date from /proc
Is this possible to do in Excel VBA?
xml query api for C++
Cisco 7206 not recognizing OC3 card
Built-In Webcam Stopped Working on Lenovo ThinkPad
Convert image to 8bit transparent png in dot net
Benefits of using Broadcom Nic with iSCSI enabled