Posted 9 November 2017, 2:02 am EST
Hello. I’m trying to get the cell value a named cell refers to but I’m not being able to figure out how to do it.
For example, if I create a named cell:
…
workbook.Names.Add(“test”, “=$1$A”);
…
and then I do this to try to get the value this named cell I created refers to:
…
var names = workbook.Names;
var name = names[“test”];
cellValue = name.RefersTo;
cellValues contains the following string: “='Bravo Co '!$A$1”
How do I do to get the value of the cell referenced to using the string from cellValues?
Thanks.
Regards.