12-31-2008 03:19 AM
i want transfer data (in format date) from multicolumn listbox into microsoft excel..the data can transfer,but date format had changed..
for example:-
in multicolumn listbox,the date in format dd/mm/yyyy. after transfer to microsoft excel,the date format had changed into mm/dd/yyyy...
why this happened???
any solution???/
12-31-2008 08:28 AM
I believe that Excel default date formats are taken from Windows general settings.
Go to Control Panel > Regional and Language Options and change the "Short Date" format.
12-31-2008 09:32 AM
12-31-2008 09:42 AM
There is another thread dealing with exactly the same problem ! There are several issues with the date format in Excel, related to the default settins and language used. Format the destination cells as string (fortunately the code format - @ - seems to be universal) and you will avoid a lot of problems.
12-31-2008 09:46 AM
12-31-2008 09:54 AM
smercurio_fc a écrit:
CC, I think you meant this thread.
Yes of course. Sorry for the recursivity ! Anyway that gave a good idea of the closeness of the two threads ! :D:D
01-01-2009 08:40 PM
if my date; 01/12/2008 (dd/mm/yyyy) the problem will be coming...
it's will transfer to excel and display 12/01/2008
that's my problem now...
01-01-2009 11:41 PM
snta1806 a écrit:if my date; 01/12/2008 (dd/mm/yyyy) the problem will be coming...
it's will transfer to excel and display 12/01/2008
that's my problem now...
Have you tried the solution proposed in the other thread (see above - that solved definitively the date problem for me) ? What's the issue with this solution your specific case ? Can you post a short sample VI that shows the problem ?