Skip to content

Commit de3b7af

Browse files
authored
Merge pull request #1752 from syncfusion-content/987962-FormulaFAQ
987962-FAQ on Does XlsIO support auto-correcting formulas
2 parents 3fc498e + 5acc26f commit de3b7af

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Support for auto-correcting formulas | Syncfusion
3+
description: This page explains whether Syncfusion XlsIO supports auto-correcting formulas using Syncfusion .NET Excel library (XlsIO).
4+
platform: document-processing
5+
control: XlsIO
6+
documentation: UG
7+
---
8+
9+
# Does XlsIO support auto-correcting formulas?
10+
11+
No, Syncfusion XlsIO does not support auto-correcting or recalculating formulas automatically when loading Excel files. To resolve this, open and resave the Excel file using Microsoft Excel. This triggers formula evaluation and updates the cached results. Once resaved, XlsIO can process the file and return the correct values.
12+
13+
Alternatively, invoke the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_Calculate">Calculate</a> method of <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html">IWorksheet</a> to evaluate and update all formulas in the worksheet.
14+
15+
Use the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_EnableSheetCalculations">EnableSheetCalculations</a> method of <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html">IWorksheet</a> to initialize <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas#calculation-engine">CalcEngine</a> objects and retrieve calculated values of formulas in a worksheet. On completion of worksheet calculation, invoke the <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html#Syncfusion_XlsIO_IWorksheet_DisableSheetCalculations">DisableSheetCalculations</a> method of <a href="https://help.syncfusion.com/cr/document-processing/Syncfusion.XlsIO.IWorksheet.html">IWorksheet</a> to dispose all <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas#calculation-engine">CalcEngine</a> objects.
16+
17+
For more details, please refer to <a href="https://help.syncfusion.com/document-processing/excel/excel-library/net/working-with-formulas">Working with Formulas | Syncfusion</a>.

0 commit comments

Comments
 (0)