I created named range for cel A1 with name "TEST.CELL" and in cel B1 created formula "=TEST.CELL*10"
it works in excel but when i try to read value from B1 i get
Exception {"Syntax error."}
at ClosedXML.Excel.CalcEngine.CalcEngine.Throw(String msg)
at ClosedXML.Excel.CalcEngine.CalcEngine.Throw()
at ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression)
at ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression)
at ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression)
at ClosedXML.Excel.XLWorksheet.Evaluate(String expression)
at ClosedXML.Excel.XLCell.get_Value()
If name is "TEST_CELL" it works, can this problem with "." be fixed.
__EXAMPLE__
var tWb = new XLWorkbook(tFile);
IXLWorksheet tWorksheet1;
tWb.Worksheets.TryGetWorksheet("Sheet1", out tWorksheet1);
tWorksheet1.Cell("A1").SetValue(1);
//var r1 = tWorksheet1.Cell("TEST.CELL").Value;
var r = tWorksheet1.Cell("B1").Value;
Thanks
it works in excel but when i try to read value from B1 i get
Exception {"Syntax error."}
at ClosedXML.Excel.CalcEngine.CalcEngine.Throw(String msg)
at ClosedXML.Excel.CalcEngine.CalcEngine.Throw()
at ClosedXML.Excel.CalcEngine.CalcEngine.Parse(String expression)
at ClosedXML.Excel.CalcEngine.ExpressionCache.get_Item(String expression)
at ClosedXML.Excel.CalcEngine.CalcEngine.Evaluate(String expression)
at ClosedXML.Excel.XLWorksheet.Evaluate(String expression)
at ClosedXML.Excel.XLCell.get_Value()
If name is "TEST_CELL" it works, can this problem with "." be fixed.
__EXAMPLE__
var tWb = new XLWorkbook(tFile);
IXLWorksheet tWorksheet1;
tWb.Worksheets.TryGetWorksheet("Sheet1", out tWorksheet1);
tWorksheet1.Cell("A1").SetValue(1);
//var r1 = tWorksheet1.Cell("TEST.CELL").Value;
var r = tWorksheet1.Cell("B1").Value;
Thanks