Get row height

Here is a tip how to get row height.

 

Source code

function getRowHeight() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sh = ss.getActiveSheet();

  var val = sh.getRowHeight(1);
  
  Browser.msgBox(val);
}

 

Format

SheetObject.getRowHeight(rowPosition)

 

Parameters

rowPosition … Row number. It starts from 1.

 

Responses

None

Leave a Comment