vb date and ssn textbox formats

  • Thread starter Thread starter kimt
  • Start date Start date
K

kimt

Ok, so maybe I am crazy...but I have checked "Visual Basic 6 how t
program", and "Visual basic 5 teach yourself in 24 hrs" for and exampl
or how to format a text box on a user form to accept and display date
and Social Security Numbers in the specified format.

Thanks Al
 
Date

TextBox1.Text = Format(Date,"dd mmm yyyy")

SSNs

TextBox1.Text = Format(mySSN, "000-00-0000")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Back
Top