Format:
Recent snippets matching tags of Excel BCB
view plaincopy to clipboardprint? AnsiString GetExcelRangeCode(int row, int col) { AnsiString asExcelCode = "" ; while ( col ) { asExcelCode = (AnsiString)(char)('A'+(col-1)%26) + asExcelCode ; col = (col-1)/26 ; } return asExcelCode ;//+IntToStr(row) ; }
268 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
