Re: Flat file to Excel....but it's got more than 255 columns!

Author: Brian Erickson

Posted: 2016-08-18 at 11:31:40

Python is a great language to use.

Brian Erickson

--------------------------------------

"Great scott, 1.21 Giga Watts"

------ Original Message ------

From: mbsoftwaresolutions@mbsoftwaresolutions.com

To: profoxtech@leafe.com

Sent: 8/18/2016 10:28:58 AM

Subject: Flat file to Excel....but it's got more than 255 columns!

>VFP9SP2/Win7Pro/SDF fixed width file

>

>I've got a flat file that needs to be translated to an Excel file.

>Traditional program put it into a cursor and then via automation did

>copy/paste into Excel. Problem is now that there are more than 255

>columns (410 to be exact) so using a VFP cursor/table won't work. I

>was just doing direct string manipulations and insertting right to the

>Excel cells, but it's a SLOW process. It works, but I'm always looking

>for a better way.

>

>Suggestions for approach?

>

>tia!

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/emb6fb58a5-8398-40ce-9ba3-27de5451b999@brians-pc

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2016 Brian Erickson