Hi,
Hi Kishore,
Thanks for your posting and using Aspose.Cells.
Since, you are saving your report in XLS format, therefore you are getting 255 columns. XLS format only supports 255 columns so you should save your report in XLSX format which supports around 16384 columns.
So, please save your report in XLSX format and your issue should be fixed with it. Let us know if you encounter any problem, we will look into it and help you asap.
Hi,
Thanks for the response . I tried using the XLSX format but i am not able to open the report generated . Please find the attached report. Even I tried using below option also .
Hi,
Thanks for your posting and using Aspose.Cells.
Please download and try the latest version: Aspose.Cells for Java 8.3.1 and see if resolves your issue.
If your issue still persists, then please provide us your runnable sample code replicating this issue so that we could investigate this issue at our end and help you asap.
Hi,
We are using aspose.cells.8.1.1.4.jar . Please find the below code .
Workbook workbook=new Workbook();
String sheetName ="Page1";
WorksheetCollection worksheets = workbook.getWorksheets();
// Check if the worksheet is already existing or not
Worksheet sheet = worksheets.get(sheetName);
if (sheet == null) {
sheet = worksheets.add(sheetName);
}
if(sheetName!=null)
{
sheet.setName(sheetName.trim());
}
Cells cells = sheet.getCells();
cells.get(1, 1).setValue("Hi");
cells.get(2, 1).setValue("Hello");
workbook.save("C:/Aspose/ReportResult_2014-12-17_03_15_00.xlsx");
Hi,
Hi,
I have tried with the aspose-cells-8.3.1.jar but I am still facing the same issue . Please find the attachment.
Hi,