Hi. Please use the attachment with the code below to reproduce the issue.
Issue 1: when a cell’s forumla contains a name range, Cell.GetDependents doesn’t return the one with the name range.
Example:
var c = worksheet.Cells[“A1”];
var dependents = c.GetDependents(true);
foreach (var dependent in dependents)
{
Console.WriteLine( string.Format("{0} ---- {1} : {2}", dependent.Worksheet.Name, dependent.Name, dependent.Value));
}
Expected:
Sheet1 ---- B1 : 10
Sheet1 ---- C1 : 20
Sheet1 ---- D1 : 30
Actual:
Sheet1 ---- C1 : 20
Sheet1 ---- D1 : 30