public static boolean doesFormulaReferToDeletedCell(Ptg[] ptgs) {for (Ptg ptg : ptgs) {if (isDeletedCellRef(ptg)) {return true;}}return false;}
public static bool DoesFormulaReferToDeletedCell(Ptg[] ptgs){for (int i = 0; i < ptgs.Length; i++){if (IsDeletedCellRef(ptgs[i])){return true;}}return false;}