The excel file is generated without errors, but when I try to open the file, I can not and I receive this alert:
Alert
We found a problem with some content in ’xxxxx.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.
When I try to generate an excel file, and I use mergeCells() and setAutofilter() togheter, there is a conflict in the file.
This is my code(I try to merge some cells in the first row, and to add the autofilters for the second row):
The excel file is generated without errors, but when I try to open the file, I can not and I receive this alert:
Alert We found a problem with some content in ’xxxxx.xlsx’. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes.
Is there a way to use these methods togheter?