Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting from VFP to Excel

Status
Not open for further replies.

aiden

Programmer
Apr 23, 2001
27
CA
HI

When exporting data from VFP6.0 to Excel format(XL5), I am limited to about 16,600 rows. Can someone tell me if VFP 7 can export more rows, and if so, how many?

Thanks.
 
One way around the limitation: export to csv file. The user then opens the csv file -- can save in it excel format. CSV's do not have the size restriction in VFP.
 
Quoting the VFP help file "XL5 ... Creates a Microsoft Excel version 5.0 worksheet file. ...". Excel version 5.0 had a limit of 16,384 rows. I believe version 7.0 (Excel 95) was the first to allow 64k rows, and no version of VFP (yet) supports this file type.

You can COPY TO ... TYPE FOX2X or TYPE DELIMITED - all 32-bit versions of Excel can import these. You could also use Automation to directly load a spreadsheet if you know each workstation has Excel installed.

Rick

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top