- TailwindCSS, shadcn/ui
- ESLint
- Prettier
- zod
function myFunction() { | |
const spreadsheetId = 'spreadsheet_id'; | |
const sheetName = 'シート1'; | |
const driveFolderId = "drive_folder_id"; | |
const linkSymbol = '★'; | |
// スプレッドシートのデータを取得 | |
const spreadsheet = SpreadsheetApp.openById(spreadsheetId); | |
const sheet = spreadsheet.getSheetByName(sheetName); | |
const lastRow = sheet.getLastRow(); |
function myFunction() { | |
const spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
// データ元シート | |
const fromSheet = spreadsheet.getSheetByName('シート7'); | |
// 出力先シート | |
const toSheet = spreadsheet.getSheetByName('シート6'); | |
// データ元シートから値を取得 |
function onEdit(e) { | |
// 転記元シート | |
const fromSheet = e.source.getSheetByName('シート4'); | |
// 転記先シート | |
const toSheet = e.source.getSheetByName('シート5'); | |
// 転記元シート以外なら処理を抜ける | |
const currentSheetName = e.source.getSheetName(); | |
if (currentSheetName != 'シート4') { |