WorkbookCtrl bookCtrl = getDesktopWorkbenchContext().getWorkbookCtrl();
Range range = Ranges.range(formulaSheet, formulaCell.getRowIndex(), formulaCell.getColumnIndex());
if (confirmChange) {
range.setEditText(newEdit);
bookCtrl.focusTo(formulaRow, formulaColumn, false);
}
clearCellReferenceFocus();
editExistingFormula = false;
formulaCell = null;
formulaText = null;