Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Importing Date field back from Excel
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01097500
Message ID:
01097571
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Are you sure that you're using TYPE XL5 in COPY TO? You'll get exported as "08-Mar-2006" with TYPE XLS.

>When i export to excel, the date fields get formatted as in the default for excel, in my case in format "Mar 8, 2006". I tried running .Range('S:S').NumberFormat='dd-mm-yyyy' for the date fields, but then i just saw in the debugger they come as "08-Mar-2006", so the CTOD on this fails ( it just gives me empty dates now ).
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform