public EvaluationName getName(String name, int sheetIndex) {for(int i=0; i < _iBook.getNumNames(); i++) {NameRecord nr = _iBook.getNameRecord(i);if (nr.getSheetNumber() == sheetIndex+1 && name.equalsIgnoreCase(nr.getNameText())) {return new Name(nr, i);}}return sheetIndex == -1 ? null : getName(name, -1);}
public IEvaluationName GetName(String name,int sheetIndex){for (int i = 0; i < _iBook.NumNames; i++){NameRecord nr = _iBook.GetNameRecord(i);if (nr.SheetNumber == sheetIndex + 1 && name.Equals(nr.NameText, StringComparison.OrdinalIgnoreCase)){return new Name(nr, i);}}return sheetIndex == -1 ? null : GetName(name, -1);}