Justincut
asked on
While.... Wend problem
Hi, in the attachment, I have a Macro Button called "Test" which populates amongst others in Column AI a field called "Date of Break". For some reason, the rows highlighted in the attachment have populated American-style dates, instead of European. Can anyone tell me why?
DummyRec2.xlsm
DummyRec2.xlsm
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I do not understand as only 6 rows in 300 rows shows the Date in American Format.Please look at the attachment to tell me why its only a minority of Cells.
My guess would be that the other ones were entered as text and those were entered as dates, hence they are influenced by the locale settings.
Is it possible that the workbook was created on a different machine with locale settings set to UK.... and then when you ran the macro... it used your locale settings of United States?
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for Justincut's comment #a39840498
for the following reason:
Excelent
Accepted answer: 0 points for Justincut's comment #a39840498
for the following reason:
Excelent
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
go to control panel... select Region and Language Options...
there under the formats tab, you should be able to select the local you want... and then modify specific formats if they are not what you expect....
So for example you may want to select
English (United Kingdom) rather than English (United States).
After that, you can still choose various formats as defaults for your date settings.