The following example shows you how to inspect the CalcResult returned by CalcSession. Every cell that could not be fully calculated produces a CalcDiagnostic that names the sheet, the cell, the reason and the formula. Such a cell keeps its original cached value, so nothing is lost.