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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Evaluate a formula

Thread ID:

Created:

Updated:

Platform:

Replies:

63587 Jul 5,2007 04:27 PM UTC Jul 5,2007 10:12 PM UTC WinForms 1
loading
Tags: XlsIO
theEvil
Asked On July 5, 2007 04:27 PM UTC

Dear sir,

I have a cell with a formula like this :

=A1+A15+A22

I need to read the value not the formula to made other calculate.
How can I do ?
I have tried with cell.FormulaNumberValue,cella.DisplayText...but nothing to do.

Thanks.

Ajish [Syncfusion]
Replied On July 5, 2007 10:12 PM UTC

Hi,

Thank you for your interest in Essential XlsIO.

Use the following code to read computed Formula Value.

sheet.Range["C1"].FormulaNumberValue

Here is a sample for your reference

Sample: http://websamples.syncfusion.com/samples/XlsIO.Windows/F63587/main.htm

Kindly take a look and let us know if this helps.

Regards,
Ajish.

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.

Warning Icon 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.Close Icon

;