()
| 1 | function onOpen() { |
| 2 | var ui = SpreadsheetApp.getUi(); |
| 3 | ui.createMenu('Custom Functions') |
| 4 | .addItem('Copy Sheet to New Sheet', 'copyToSheet') |
| 5 | .addItem('Copy Selection to New Sheet', 'copySelectionToSheet') |
| 6 | .addItem('Copy Sheet from Other Sheet', 'copyFromOther') |
| 7 | .addToUi(); |
| 8 | } |
| 9 | |
| 10 | function copySelectionToSheet(){ |
| 11 | const ss = SpreadsheetApp.getActiveSpreadsheet(); |
nothing calls this directly
no outgoing calls
no test coverage detected