We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ArrayFormula to be updated once opened.

Thread ID:

Created:

Updated:

Platform:

Replies:

105507 Nov 1,2012 12:01 AM Nov 5,2012 03:51 AM Windows Forms 2
loading
Tags: XlsIO
Rieky
Asked On November 1, 2012 12:01 AM

Hi,

I have created an Excel file containing ArrayFormulas.
The file was created successfully and what is intended is that these formulas to be calculated and updated when the file is opened.

Is there a way to achieve this?

Thanks.


Rieky
Replied On November 1, 2012 12:48 AM

PS: I have used

workbook.CalculationOptions.CalculationMode = ExcelCalculationMode.Automatic;

It still doesnt work

Manoj Kumar G M [Syncfusion]
Replied On November 5, 2012 03:51 AM

Hi,


Thank you for choosing Syncfusion products.

Essential XlsIO includes support for enabling the calculations of Essential Calculate supported formulas that are added at runtime to the worksheet and the computed value will be set to the “CalculatedValue” property associated to the “IRange” object. The following code snippet illustrates how to enable the sheet formula calculations.

[C#]

IWorksheet sheet = workbook.Worksheets[0];

//Formula calculation is enabled for the sheet.

sheet.EnableSheetCalculations();

Please go through our documentation in the link below.

http://help.syncfusion.com/UG/Reporting/XlsIO/Windows%20Forms/default.htm#!Documents/addingcalculationenginetoanapplication.htm

Please let us know if you require any further clarifications.

Regards,
Manojkumar.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;