GetCol
function GetCol(): number
Description
Returns a column number for the selected cell.
Returns
number
Try It
var oWorksheet = Api.GetActiveSheet();
var oRange = oWorksheet.GetRange("D9").GetCol();
oWorksheet.GetRange("A2").SetValue(oRange.toString());