Spreadsheet Integrator - Online Help
Available for:
Spreadsheet Integrator
Questions / Feedback?

EvaluateFormula Method

Evaluates the specified formula.

Syntax

public String evaluateFormula(String formula);

Remarks

This method evaluates the formula specified by Formula and returns the result. This provide a way to directly calculate the result of a formula without setting CellFormula and calling Recalculate. For instance:

ExcelDoc1.Cell = "A1";
ExcelDoc1.CellValue = "2";
ExcelDoc1.Cell = "A2";
ExcelDoc1.CellValue = "4";
String result = ExcelDoc1.EvaluateFormula("SUM(A1,A2)");

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0