Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem populating a VFP table with an Excel 'date' fiel
Message
From
02/03/2000 20:30:22
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00340955
Message ID:
00340995
Views:
23
Hi Larry,

I think the problem is caused by having the Format Cells Category in Excel set to general instead of date. Click on the Column heading in Excel and see what the Format Cells Category is set to.

Hope this helps,

Gavin...

>Hello All,
>
>I'm trying to populate a date field in a table with a date from an Excel file. The date looks ok in the Excel file, but when I put it in a varaiable using the following code:
>
>.Range("C6").Select
>temp= ALLTRIM(.ActiveCell.FormulaR1C1)
>
>I get a 5 character number like 36841. Any ideas to help would be greatly appreciated.
>
>Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform