Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XLS Save limitations
Message
From
27/09/2006 11:52:20
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
XLS Save limitations
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01157534
Message ID:
01157534
Views:
63
Here's what I'm doing in steps:
1.) ObjExcel= CREATEOBJECT("Excel.Application")
2.) ***Build and format the spreadsheet***
3.) ObjExcel.Range("A1").Select
ObjExcel.ActiveWorkbook.Save
ObjExcel.ActiveWorkbook.Close

The issue is when you try manually to open the XLS afterwards, the spreadsheet gets cut off at around 16,000 rows and in my case I'm missing the last 1500 as well as totals.
BUT, when commenting the code to SAVE and CLOSE, then hitting the 'x' and saving manually, when the spreadsheet is reopened all the data is there. Why would the code to SAVE and CLOSE cut off rows when if you did it manually it works fine?
Next
Reply
Map
View

Click here to load this message in the networking platform