An unhandled exception while trying to SaveAs Excel *.xlsx file

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,

Im trying to save the file in *.xlsx file but I receive An unhandled Error.

It was working with *.xls extension but my file grows and have to many rows for *.xls
Here is my code:

xls_tymczasowy->SaveAs(path_tymczasowy,51,vtMissing,
vtMissing,vtMissing,vtMissing,Excel::XlSaveAsAccessMode::xlNoChange,
vtMissing,vtMissing,vtMissing,vtMissing,vtMissing,0);
Can somebody know why I receive tis error?

View the full article
 
Back
Top