brianfosterblack
Active Member
- Joined
- Nov 1, 2011
- Messages
- 251
I am using windows 7 and Excel 2007. In Ecel I have a form set up with a textbox to insert the date. I enter the date in the format dd/mm/yyyy which is the same as my format for dates as set up in windows. However when the form transposes this to the worksheet the date is reversed into the format mm/dd/yyyy. Here are my line of codes
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = Format(FrmApplications.TextBox1.Value, "dd/mm/yyyy")
Does anyone know how to correct this.
ActiveCell.Offset(0, 1).Select
ActiveCell.Value = Format(FrmApplications.TextBox1.Value, "dd/mm/yyyy")
Does anyone know how to correct this.