You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I merge cells while creating EXCEL I always get error when I try to open file I get error from the picture.
When I click on Yes button, a file can be opened. Only last sheet remains without cells merging.
But when I create a file without cells merging, I don't get any error when I open it.
Here is my code for cells merging:
for (int s = 0; s < 40; s++)
{
excelSheets[i].AutoSizeColumn(s);
if (i >= 4 && i <= 8)
continue;
var merge = new CellRangeAddress(0, 1, s, s);
excelSheets[i].AddMergedRegion(merge);
}
The text was updated successfully, but these errors were encountered:
When I merge cells while creating EXCEL I always get error when I try to open file I get error from the picture.
When I click on Yes button, a file can be opened. Only last sheet remains without cells merging.
But when I create a file without cells merging, I don't get any error when I open it.
Here is my code for cells merging:
The text was updated successfully, but these errors were encountered: