Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Date To American Format 1

Status
Not open for further replies.

SgtPepps

IS-IT--Management
May 1, 2002
109
GB
I have a cell with the date In Day/Month/Year format but when its transferred to a userform:

Userform.TextBox.Value = Activecell.Value

It converts the date to Month/Day/Year. How can I stop this?

Regards

Sgtpepps
 
Hello Sarge
try this to reformat

UserForm1.TextBox1.Value = Format(Sheets(1).[a1].Value, "dd/mm/yyyy")

;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top