Help us understand the problem. What is going on with this article?

【GAS】Range - メソッド一覧

More than 1 year has passed since last update.

Range

getValue()

セルの値を取得する(単体セルの値)

rangeObj.getValue();
# Object

getValue()

セルの値を取得する(行列の指定)

rangeObj.getValue(行, 列);

getValues()

セルの値を取得する(複数セルの値)

rangeObj.getValues();
# Object[][] : 二次元配列

setValue()

セルに値を入力する

rangeObj.setValue('テキスト');
rangeObj.setValue(値);
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away