Hi
I have a textbox on my userform that shows the current date when opened. No matter what I try I can not get the format to be in the UK style i.e. dd/mm/yy it always shows the US style mm/dd/yy
It used to work in excel 2003 with txtdate.Value = Format(txtdate, "dd/mm/yy") but fails in 2007 with can't find project or library.
I have also tried Me.txtdate.Value = Format(Me.txtdate.Value, "dd/mm/yy")) with the same result.
Any ideas?
Thank you
I have a textbox on my userform that shows the current date when opened. No matter what I try I can not get the format to be in the UK style i.e. dd/mm/yy it always shows the US style mm/dd/yy
It used to work in excel 2003 with txtdate.Value = Format(txtdate, "dd/mm/yy") but fails in 2007 with can't find project or library.
I have also tried Me.txtdate.Value = Format(Me.txtdate.Value, "dd/mm/yy")) with the same result.
Any ideas?
Thank you
Last edited: