|125440||Aug 18,2016 08:14 AM UTC||Aug 18,2016 11:50 AM UTC||ASP.NET Web Forms||1|
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 Excel Workbook:
Dim engine As New ExcelEngine()
Dim syncBook As Syncfusion.XlsIO.Implementation.WorkbookImpl = engine.Excel.Workbooks.Open(str, ExcelOpenType.SpreadsheetML2010)
if 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?
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.