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
EtherChannel on Cisco 2960 switch intermittent dropped packet
subquery returned more than 1 value: database vendor code 512
New install of SBS 2008 continuously downloads 2.5GB per day (WSUS disabled)
VB.NET executable error on Excel SaveAs method when run or submitted by SSIS.
Itunes could not connect to the Itunes Store. The network connection timed out.
SBS2003 - Exchange - Cannot open shared mailbox
asp forms handling
Zebra LP 2844 label printer prints the first print job successfully, subsequent print jobs after skip labels and/or print partial data on labels until computer is rebooted.
breadcrumb trail in a dropdown box
IIS 6.0 asp.net 2.0 cpu performance issue