суббота, 14 ноября 2009 г.

function onEdit()

We now have onEdit which fires when someone modifies a cell.  This tracks the number of modifications and writes the total out to cell a1:

function onEdit() {
  var doc = SpreadsheetApp.getActiveSheet(
);
  var cell = doc.getRange('a1');
  cell.setValue(cell.getValue() + 1);
}

Комментариев нет:

Отправить комментарий