I have a sheet with data in cols A through H.
A
H
I need to determine the last row in column A that contains data (it\'s all conti
To get the number of columns or last column's index:
var numColumns = sheet.getLastColumn()
To get the no of rows or last row's index:
var numRows = sheet.getLastRow()
where
var sheet = SpreadsheetApp.getActiveSheet()