Skip to content

Commit 35f95cc

Browse files
987962-FormulaFAQ
1 parent 6b74c3b commit 35f95cc

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

Document-Processing-toc.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5896,6 +5896,9 @@
58965896
<li>
58975897
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-setting-row-height-for-individual-cells-in-Excel">Does XlsIO support setting row height for individual cells in Excel?</a>
58985898
</li>
5899+
<li>
5900+
<a href="/document-processing/excel/excel-library/net/faqs/does-xlsio-support-auto-correcting formulas">Does XlsIO support auto-correcting formulas?</a>
5901+
</li>
58995902
</ul>
59005903
</li>
59015904
</ul>
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)