public static String getExcelColumnName(final int pnumber) {
		StringBuilder converted = new StringBuilder();
		// Repeatedly divide the number by 26 and convert the
		// remainder into the appropriate letter.
		int number = pnumber;
		while (number >= 0) {
			int remainder = number % TieConstants.EXCEL_LETTER_NUMBERS;
			converted.insert(0, (char) (remainder + 'A'));
			number = (number / TieConstants.EXCEL_LETTER_NUMBERS) - 1;
		}

		return converted.toString();
	}
public static String getExcelColumnName ( final int pnumber ) { StringBuilder converted = new StringBuilder ( ) ; int number = pnumber ; while ( number >= 0 ) { int remainder = number % TieConstants . EXCEL_LETTER_NUMBERS ; converted . insert ( 0 , ( char ) ( remainder + 'A' ) ) ; number = ( number / TieConstants . EXCEL_LETTER_NUMBERS ) - 1 ; } return converted . toString ( ) ; }
Gets the excel column name.

@param pnumber
the number
@return the string