Forum > FPSpreadsheet
How to get cell address
(1/1)
veb86:
Hello
I have a row number and a column number.
How to get the cell address?
I searched for ready-made functions and couldn't find anything. I can write it myself, but suddenly I didn’t find it.
For example
function GetCellAddress(iRow,iCol:Cardinal):string;
(0,0) => "A1"
wp:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function GetCellString(ARow, ACol: Cardinal; AFlags: TsRelFlags = (rfRelRow, rfRelCol)): String;and similar ones in unit fpsUtils.
veb86:
--- Quote from: wp on July 04, 2024, 09:10:52 am ---
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---function GetCellString(ARow, ACol: Cardinal; AFlags: TsRelFlags = (rfRelRow, rfRelCol)): String;and similar ones in unit fpsUtils.
--- End quote ---
Thank you. I only looked inside fpSpreadsheet
Navigation
[0] Message Index