Hi,
I can able to save XSLX file using LightCellsDataProvider in Aspose.cells.
Can you tell how to save same file XSLM format which keeps macro.
Thanks
Shrikant
Hi,
I can able to save XSLX file using LightCellsDataProvider in Aspose.cells.
Can you tell how to save same file XSLM format which keeps macro.
Thanks
Shrikant
Hi,
//Specify the XLSM file's Save options OoxmlSaveOptions opt = new OoxmlSaveOptions(SaveFormat.XLSM); //Set the data provider for the file opt.setLightCellsDataProvider(dataProvider);<span class="code-comment" style="color: rgb(128, 128, 128); background-color: inherit; ">//Save the big file
wb.save(OUTPUT_FILE_PATH + “/DemoTest.xlsm”, opt);
Amjad,
Thanks for the quick reply. I can able to save XSLM file.
But is there any way we can save the same file in old XSL format ?
I tried all way to create large XSL file using LightCellsDataProvider since i use normal way to , it throws OutofMemory above 6ooo rows.
I want to create XSL file with 65K rows and 256 Columsn
and XSLX and XSLM file with 200K rows.
Please suggest
Shrikant
Hi,
I tried all way to create large XSL file using LightCellsDataProvider since i use normal way to , it throws OutofMemory above 6ooo rows.
//Specify the XLS file’s Save options
XlsSaveOptions opt = new XlsSaveOptions();
//Set the data provider for the file
opt.setLightCellsDataProvider(dataProvider);<span class="code-comment" style="color: rgb(128, 128, 128); background-color: inherit; ">//Save the big file
wb.save(OUTPUT_FILE_PATH + “/DemoTest.xls”, opt);
Hi,
Thanks for using Aspose.Cells.
When saving large XLS files, it is better for users to use SaveOptions.CachedFileFolder to specify a temporary place for saving temporary data generated in saving process. Otherwise lots of memory will be needed even using LightCells because of XLS file’s data structure.
Hi,
Thanks for using Aspose.Cells.
For detailed information regarding LightCells API(s) and its interface, please see the following documentation topics.