Skip to content

Instantly share code, notes, and snippets.

@ChaiyachetU
Last active October 17, 2019 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChaiyachetU/c0afc3a8fccfee12a6695da713269602 to your computer and use it in GitHub Desktop.
Save ChaiyachetU/c0afc3a8fccfee12a6695da713269602 to your computer and use it in GitHub Desktop.
function meetingRoomBooking() {
//Set data from Spread Sheet
var spreadSheetID = "xxxxxx";
var ss = SpreadsheetApp.openById(spreadSheetID);
var sheet = ss.getActiveSheet();
var lastRow = sheet.getLastRow();
var lastColumn = sheet.getLastColumn();
Logger.log(lastRow);
Logger.log(lastColumn);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment