I have done a coding a Google AppScript but somehow it is not working. My coding is to specify until the the last column. I have attached the coding here. Can anyone help me with it?
var lastRow = displaySheet.getLastColumn();
var paidMonthValues = displaySheet.getRange("G":lastRow).getValues();