How to show formula calculation in excel created with Open XML in Protected view programmatically

Goranović, Iva 0 Reputation points

How to show formula values in cells in Excel generated with OpenXml in Protected view on excel open?

Tried with this but not work.
WorkbookPart.Workbook.CalculationProperties.ForceFullCalculation = true;

WorkbookPart.Workbook.CalculationProperties.FullCalculationOnLoad = true;

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,472 questions
0 comments No comments
{count} votes