私は、毎日タブまたはシートを複製し、今日の日付にそのシートの名前を変更するスクリプトを探しています。毎日重複するシート
これは可能ですがどこでも答えは見つかりません。
これまでのスクリプトは以下の通りですが、動作しません。
function CreateNewPulseSheet() {
// The code below makes a duplicate of the active sheet
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("master do not use");
SpreadsheetApp .getSheetByName().duplicateActiveSheet();
// The code below will rename the active sheet to a date based on cell M1 of the source spreadsheet
var myValue = SpreadsheetApp.getActiveSheet().getRange("M1").getDisplayValue();
SpreadsheetApp.getActiveSpreadsheet().renameActiveSheet(myValue);
}
[Googleスクリプトでシートと名前のコピーと名前の変更はセル参照に基づいています](https://stackoverflow.com/questions/23472440/google-script-to-copy-and-rename-a -sheet-and-name-is-a-cell-reference) –