Please see attached XLSX file that we used as input and XLSB as output that we received as output.
I noticed that in XLSX formula was =IFERROR(C9/$C$6,0)
Aspose Support.zip (26.3 KB)
and XLSB it is =@IFERROR(C9/$C$6,0)
Why after conversion “@” is added to Formula ? may be reason why they are not calculated after conversion.
Following code used -
string stringBeforeChar = parameters.Substring(0, parameters.IndexOf("."));
string strinputfilename = "D:/Shared Files/Split/Input/" + parameters;
string stroutputfilename = "D:/Shared Files/Split/Output/" + stringBeforeChar + ".xlsb";
var workbook = new Workbook(strinputfilename);
workbook.CalculateFormula();
workbook.Save(stroutputfilename, Aspose.Cells.SaveFormat.Xlsb);