0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

アクティブなセルの値取得

Last updated at Posted at 2018-10-10
function GetActiveCell() {
  var objSpreadsheet = SpreadsheetApp.getActiveSpreadsheet();
  var objSheet = objSpreadsheet.getActiveSheet();
  var objCell = objSheet.getActiveCell();
  Logger.log("値 : " + objCell.getValues());
  
}

メモ:暇があったらやりたいこと
セルで使える関数化
=GetActiveCell('出力セル'!A2)
みたいな
トリガーはどうするんだろ?

参照
https://qiita.com/kazuki5555/items/a74103557f753ed44096

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?