Save() throws an exception on a spreadsheet (attached) only after InsertColumns() is being called and the save format is SpreadsheetML.
What is the reason that this exception is being thrown?
var workbook = new Workbook();
var grid = workbook.Worksheets;
System.IndexOutOfRangeException: Index was outside the bounds of the array.
Thanks for providing us the template file.
Yes, we found the issue (as you have described) after an initial test, we will figure it out soon.
Please try the fix in <A href="https://forum.aspose.com/t/85476</A>.</P> <P>This bug is caused by there are more than 256 columns after inserting columns.We have cleared them if we save it as SpreadML file.</P>
This looks good now … thanks!