Formulas in Excel spreadsheet do not calculate until “Enable Editing” is clicked

Yergamoni, Rajkumar 1 Reputation point
2022-07-22T15:51:58.303+00:00

When export the excel, the formulas was not calculating until “Enable Editing” is clicked in Excel spreadsheet.

Am using below code for cell formula:

            var cellFormula = new CellFormula();  
            cellFormula.Text = value?.ToString();  
            result.CellFormula = cellFormula;
Developer technologies | .NET | .NET Runtime
Microsoft 365 and Office | Excel | For business | Windows
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.