× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You could try something like this.....

"data","morestuff",1234.56,="737039","andsoforth",.....

The equal preceeding the quoted value will force it to be stored in excel as a character string. This works for all those troublesome values, like the US zip code or phone number, that often have leading zeros stripped by excel...

hth,
Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of
franz400@xxxxxxxxxxxx
Sent: Wednesday, May 21, 2008 9:16 AM
To: midrange-l@xxxxxxxxxxxx
Subject: write .csv from rpgle column format issue


Is there anything I can do in the writing of a .csv (not .xls) file so that when Excel opens the file, text columns like a part number will not be interpreted as a date (example part number = 737039).
I know I can (with more effort) write a .xls, but this file is being processed as an import to a windows app, and user is reviewing with Excel. They don't want to have to re-format many columns.
btw-Double and single quotes already exist within the data (" = inches and ' = feet...)
Jim Franz

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.