General information
Title:
XLS Save limitations
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only