PDA

View Full Version : Sleeper: US UK Date format issue



Sir Babydum GBE
10-12-2007, 03:43 AM
Hi

I'm getting a problem when a workbook with a user form is used on some PCs.

txtDate is a form control, and it has a control source: =Validations!A2

That particular cell has =NOW() in it - so the idea is that whenever the form is submitted it adds the date and time to the record it creates.

The problem is that the format is being jumbled - and the date on the sumbitted record is wrong. So today's date is (using UK system of dd/mm/yy) 12/10/07, But on the records its coming out as Dec 10 - regardless of how it's formatted the serial date is wrong.

How do I fix so that when the fo submits a record it puts the correct date in?

matthewspatrick
10-12-2007, 02:37 PM
Sir Babydum,

I certainly hope this little setback will not have an impact on your
intergalactic peace initiatives!

ARe you talking about controls from the Forms toolbar embedded
in a worksheet, or about ActiveX controls in a UserForm? Can
you upload your file?