Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XLS Save limitations
Message
De
27/09/2006 11:52:20
Adam Hicks
The Ssi Group, Inc.
Mobile, Alabama, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
XLS Save limitations
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01157534
Message ID:
01157534
Vues:
64
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform