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

Author: Joe Yoder

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

How about using the string functions to convert the file to Comma Separated

Values and just having Excel open the .CSV?

Joe

On Thu, Aug 18, 2016 at 12:32 PM, Fred Taylor <fbtaylor@gmail.com> wrote:

> Use 2 queries to break up the number of columns. You can then set the

> active cell and do 2 separate copy/paste calls.

>

> Fred

>

> On Thu, Aug 18, 2016 at 9:28 AM, <

> mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:

>

> > 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/CABQeDnW3TtPfioJ84Ytfj-4HLPx=QCv7evSvbDGui+N=vQ=Egg@mail.gmail.com

** 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 Joe Yoder