google script get sheet size
var lastColumn = sheet.getLastColumn();
// Returns the position of the last column that has content.
google script get sheet size
var lastColumn = sheet.getLastColumn();
// Returns the position of the last column that has content.
google sheets get ranges
//getRange(row, column, optNumRows, optNumColumns);
Sheet.getRange(1,1,1,12);
//row --- int --- top row of the range
//column --- int--- leftmost column of the range
//optNumRows --- int --- number of rows in the range.
//optNumColumns --- int --- number of columns in the range
google script get sheet size
// This example assumes there is a sheet named "first"
var ss = SpreadsheetApp.getActiveSpreadsheet();
var first = ss.getSheetByName("first");
Logger.log(first.getMaxColumns());
// getMaxColumns() returns the current number of columns in the sheet,
// regardless of content.
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us