FarPoint.Web.Spread.Model.IExpressionSupport2 es;
es = FpSpread1.ActiveSheetView.DataModel;
FarPoint.CalcEngine.Expression ex;
string s;
FpSpread1.ActiveSheetView.Cells[0, 0].Value = 10;
FpSpread1.ActiveSheetView.Cells[1, 0].Value = 10;
FpSpread1.ActiveSheetView.Cells[2, 0].Formula = "A1 + A2";
ex = es.ParseFormula(2, 0, "A1+A2");
s = es.UnparseFormula(2, 0, ex);
Response.Write(s);
Dim es As FarPoint.Web.Spread.Model.IExpressionSupport2
es = FpSpread1.ActiveSheetView.DataModel
Dim ex As FarPoint.CalcEngine.Expression
Dim s As String
FpSpread1.ActiveSheetView.Cells(0, 0).Value = 10
FpSpread1.ActiveSheetView.Cells(1, 0).Value = 10
FpSpread1.ActiveSheetView.Cells(2, 0).Formula = "A1 + A2"
ex = es.ParseFormula(2, 0, "A1+A2")
s = es.UnparseFormula(2, 0, ex)
Response.Write(s)