Home » excel » c# – Formula won't calculate before "Enable Editing"

c# – Formula won't calculate before "Enable Editing"

Posted by: admin May 14, 2020 Leave a comment

Questions:

There’s one cell which has a formula and after generating the document, the value won’t be calculated unless I click on “Enable Editing”.

How to&Answers:

You need to call worksheet.Calculate() before you save the document.