Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading Excel Time Value
Message
From
20/02/2001 15:11:36
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
14/02/2001 10:41:25
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00475732
Message ID:
00477742
Views:
49
Chris,

I assume you're using something like: lo_Excel.Cells( 1, 1 ).VALUE. If so, try: lo_Excel.Cells( 1, 1 ).TEXT.

HTH,
Jonathan

>I am trying to read an Excel field formatted as a Time into Visual FoxPro 6.0 SP4. When I read the value I get the numerical equivalent of the time.
>If I try to change the format on the Excel field to Text in Excel, it converts it to a number.
>
>Does anyone know a way I can read this field into foxpro as a character string?
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform