public String toFormulaString() {StringBuilder sb = new StringBuilder(64);boolean needsExclamation = false;if (externalWorkbookNumber >= 0) {sb.append('[');sb.append(externalWorkbookNumber);sb.append(']');needsExclamation = true;}if (sheetName != null) {SheetNameFormatter.appendFormat(sb, sheetName);needsExclamation = true;}if (needsExclamation) {sb.append('!');}sb.append(nameName);return sb.toString();}

public String toFormulaString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; boolean needsExclamation = false ; if ( externalWorkbookNumber >= 0 ) { sb . append ( '[' ) ; sb . append ( externalWorkbookNumber ) ; sb . append ( ']' ) ; needsExclamation = true ; } if ( sheetName != null ) { SheetNameFormatter . appendFormat ( sb , sheetName ) ; needsExclamation = true ; } if ( needsExclamation ) { sb . append ( '!' ) ; } sb . append ( nameName ) ; return sb . toString ( ) ; }
public override String ToFormulaString(){StringBuilder sb = new StringBuilder();bool needsExclamation = false;if (externalWorkbookNumber >= 0){sb.Append('[');sb.Append(externalWorkbookNumber);sb.Append(']');needsExclamation = true;}if (sheetName != null){SheetNameFormatter.AppendFormat(sb, sheetName);needsExclamation = true;}if (needsExclamation){sb.Append('!');}sb.Append(nameName);return sb.ToString();}
