()
| 1 | function onOpen() { |
| 2 | // Add a custom menu to the spreadsheet. |
| 3 | SpreadsheetApp.getUi() |
| 4 | .createMenu('Formatting') |
| 5 | .addSubMenu(SpreadsheetApp.getUi().createMenu('Apply Style') |
| 6 | .addItem('Company Style', 'applyCompanyStyle') |
| 7 | .addItem('McDonalds Style', 'applyMcDonaldsStyle') |
| 8 | .addItem('Coca-Cola Style', 'applyCocaColaStyle') |
| 9 | .addItem('Remove Formatting', 'removeFormatting')) |
| 10 | .addToUi(); |
| 11 | } |
| 12 | |
| 13 | function applyCompanyStyle() { |
| 14 | // Get the active spreadsheet and sheet |
nothing calls this directly
no outgoing calls
no test coverage detected