I’ve an Excel spreadsheet whose calculation mode has been
set by a user as ‘Manual’.
We have a process that converts the Excel to a MemoryStream
and its saved to a database.
In another process we then convert the memory stream to an
Dim engine AsNewExcelEngine()
Dim syncBook As
Syncfusion.XlsIO.Implementation.WorkbookImpl = engine.Excel.Workbooks.Open(str, ExcelOpenType.SpreadsheetML2010)
syncBook.CalculationOptions.CalculationMode = ExcelCalculationMode.Manual
However the calculationmode is always set to Automatic.
I’ve tested by creating Excel sheets and saving the Formula
Calculations as Manual. I’ve verified this by closing and reopening the file.
However after this Excel has been converted to a Memory Stream and then
reloaded by the code above, the CalculationMode is always Automatic.
Is there any way of detecting if a user would have changed
the calculation mode of an Excel spreadsheet from Automatic to Manual?
AVAbirami Varadharajan Syncfusion Team August 18, 2016 11:50 AM UTC
We are able to reproduce the issue with “CalculationMode is not applied”and have logged defect report. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.