
gasで以下のようなコードを書きました。
実行ログを確認すると配列の中身ではなくただ[Function]とだけ返ってきます。
その理由と解決方法を知りたいです。
function createform_日報_エンジニア() { //シート情報 const ss = SpreadsheetApp.getActiveSpreadsheet(); const sheet = ss.getSheetByName("シート1"); //フォームのタイトルと説明文 const formTitle = sheet.getRange(1,1).getValue; const formDescription = sheet.getRange(2,1); //フォーム項目「大トピック」 const topic1 = sheet.getRange("A3:A8").getValues; console.log(topic1);
回答1件
あなたの回答
tips
プレビュー