-
Notifications
You must be signed in to change notification settings - Fork 302
Closed
Labels
alt-enhancementalternative enchancement label for organization purposesalternative enchancement label for organization purposes
Description
After deactivating automatic calculcation and after inserting/replacing some cell formulas and in the end of larger bulk changes, I sometimes need to know if a cell finally requires recalculation.
For this, I implemented method HasMissingCachedCalculatedFormulaValue as following:
ExcelRangeBase.cs
public bool HasMissingCachedCalculatedFormulaValue()
{
return HasMissingCachedCalculatedFormulaValue(this, _fromRow, _fromCol);
}
public static bool HasMissingCachedCalculatedFormulaValue(ExcelRangeBase range, int row, int col)
{
if (!string.IsNullOrEmpty(range._worksheet.GetFormula(row, col)))
return (range._worksheet.GetValueInner(row, col) == null);
else
return false;
}Would be nice to find this or similar functionality in one of your next releases :-)
Metadata
Metadata
Assignees
Labels
alt-enhancementalternative enchancement label for organization purposesalternative enchancement label for organization purposes